%"reduk. bez CNN 120 89.3"
load ens3

% redukce parametru pro strom z 280 na 120
predsel=[1 2 3 6 27 30 33 37 40 42 46 49 50 52 57 58 59 66 67 68 70 72 73 74 77 83 88 90 94 100 102 104 108 110 113 139 141 142 145 153 158 159 166 167 168 173 176 181 182 184 188 195 197 199 201 205 212 213 214 215 219 225 230 232 235 236 240 241 257 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 31 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 164 273 274 275 276 277 278 279 280]

predpovezena_klasifikace = ens.predict(puvodni_prediktory(:,predsel))
%posledni 3 jsou nn

puvodni prediktory jsou z ver_206_verB

pro kontrolu vstup do stromu:
pksMd pksP7 pksP9 pksR3 countRRs RRcoverage3 rrCompVR irregMean holeMax maxRTE mmRTE avgRAWdr2 avgRAWpwd avgRAWtwd avgRAW2rwd avgRAW2twd dRRsMEAN RRextraRatio RRextrasCount extraRRsCNT extraRRsMax maxRRs medRRs minRRs elevationRAW_elevationAbs maxKESrisk qrs1Count qrsAllCount groupCountL4 trustworthSTDmin trustworthSTDmed trustworthBPM trustwrothNExToAll trustworthAMPvr trustworthRatioVR meanFreq stdLRDm stdLRSm stdLRFratio RawMedAkrt ratioRawMedStdAB ratioRawMedStdBC LFMedAstd LFMedBMean LFMedBstd MFMedBMean MFMedCstd featuresPetr_RRp10 featuresPetr_RRskew featuresPetr_eQRSmax pWaveAVG_STD pWaveAVG_STD_NORM cts_2_ cts_4_ cts_6_ cts_10_ cts_17_ cts_18_ cts_19_ cts_20_ cts_24_ cts_30_ cts_2_3_ cts_2_5_ cts_2_8_ cts_2_9_ cts_2_13_ cts_2_14_ cts_2_30_ signalMAD signalMADrVR madMin madMax madMed madSTD madVRMin madVRMax madVRMed madVRStd signalSTD signalVR signalSTDvrRatio signalLNG signalNumPeaks signalNPlngRatio signalPKmed signalPKiqr signalPKstd longestBlockOverBPM trustworthBPMmin trustworthBPMmed trustworthBPMmax trustworthBPMstd trustworthC0Cmin trustworthC0Cmax trustworthC0Cavg trustworthC0Smin trustworthC0Smax trustworthC0Smed trustworthXDmin trustworthXDmax trustworthXDstd trustworthXDmean trustworthXMmin trustworthXMmax trustworthXMstd trustworthXMmean trustworthXPmin trustworthXPmax trustworthXPstd trustworthXPmean ratioRawMedBC avgNsubMaxO avgNsubMaxA maxCodeNAO maxCodeAvgNMaxAO sumNprev outputNN_1_ outputNN_2_ outputNN_3_ 

