[GRASS-user] v.class.mlR Error

Jamille Haarloo j.r.haarloo at gmail.com
Thu Jun 7 06:17:48 PDT 2018


The first 20+ lines of Stats_Training_Ben_test:

cat,area,perimeter,compact_circle,compact_square,fd,WV_Benatimofo_1_min,WV_Benatimofo_1_max,WV_Benatimofo_1_range,WV_Benatimofo_1_mean,WV_Benatimofo_1_stddev,WV_Benatimofo_1_variance,WV_Benatimofo_1_coeff_var,WV_Benatimofo_1_sum,WV_Benatimofo_1_first_quart,WV_Benatimofo_1_median,WV_Benatimofo_1_third_quart,WV_Benatimofo_2_min,WV_Benatimofo_2_max,WV_Benatimofo_2_range,WV_Benatimofo_2_mean,WV_Benatimofo_2_stddev,WV_Benatimofo_2_variance,WV_Benatimofo_2_coeff_var,WV_Benatimofo_2_sum,WV_Benatimofo_2_first_quart,WV_Benatimofo_2_median,WV_Benatimofo_2_third_quart,WV_Benatimofo_3_min,WV_Benatimofo_3_max,WV_Benatimofo_3_range,WV_Benatimofo_3_mean,WV_Benatimofo_3_stddev,WV_Benatimofo_3_variance,WV_Benatimofo_3_coeff_var,WV_Benatimofo_3_sum,WV_Benatimofo_3_first_quart,WV_Benatimofo_3_median,WV_Benatimofo_3_third_quart,WV_Benatimofo_4_min,WV_Benatimofo_4_max,WV_Benatimofo_4_range,WV_Benatimofo_4_mean,WV_Benatimofo_4_stddev,WV_Benatimofo_4_variance,WV_Benatimofo_4_coeff_var,WV_Benatimofo_4_sum,WV_Benatimofo_4_first_quart,WV_Benatimofo_4_median,WV_Benatimofo_4_third_quart
1144,3832.000000,1256.000000,5.723635,0.197144,1.729624,13,76,63,46.4097077244259,9.98454911351384,99.69122100017,21.5139237092391,177842,40,47,53,40,138,98,90.2687891440501,15.2500825418009,232.565017531741,16.8940812061464,345910,81,92,100,15,61,46,40.8582985386221,7.82663897784868,61.2562776895802,19.1555675536767,156569,36,42,47,28,124,96,68.4253653444676,13.5774536655369,184.347248039801,19.8427200164517,262206,59,68,77
1145,12092.000000,2282.000000,5.854120,0.192750,1.645226,13,94,81,51.386288455177,10.5294376761475,110.869057775874,20.4907534532914,621363,45,52,59,21,220,199,114.230731061859,23.3590328249442,545.644414516822,20.4489917973953,1381278,101,114,128,7,76,69,46.4219318557724,8.42747122371732,71.0222712265835,18.1540726264915,561334,42,48,52,17,198,181,97.2732385047966,22.492313569247,505.904169697333,23.1228176577445,1176228,84,97,110
344,56623.000000,5622.000000,6.664836,0.169303,1.577907,7,117,110,48.9859950903343,12.2148119091359,149.201629975569,24.9353144436706,2773734,41,49,57,13,195,182,98.0623951397842,23.0181102420013,529.833399112924,23.4729227337246,5552587,83,98,113,5,102,97,42.592692015612,9.50012967113416,90.2524637683636,22.3046002061855,2411726,37,43,49,10,199,189,86.872489977571,23.6622500676856,559.902078265688,27.2379093471303,4918981,71,86,102
345,3711.000000,932.000000,4.315842,0.261451,1.663776,9,88,79,41.4944758825115,16.4423790499195,270.351828821232,39.6254650775079,153986,28,40,55,15,149,134,69.1158717326866,23.6500249395838,559.323679642938,34.2179362665828,256489,52,70,85,6,78,72,36.4807329560765,14.859354754329,220.800423714999,40.7320619687655,135380,24,36,49,7,110,103,49.5238480194018,19.2285018694077,369.735284141817,38.8267524403085,183783,34,49,63
346,3537.000000,822.000000,3.898965,0.289405,1.642813,23,122,99,68.4042974271982,11.6900148615688,136.6564474637,17.0895912994507,241946,62,69,76,83,244,161,149.022052586938,23.6287627271847,558.318428017593,15.8558832850594,527091,131,148,166,27,97,70,69.2623692394685,7.79821357477528,60.8121349578094,11.2589471893658,244981,65,70,74,49,255,206,126.945716709075,32.1492735900629,1033.57579236872,25.3252133459061,449007,102,124,148
347,62555.000000,7296.000000,8.229034,0.137122,1.610873,7,194,187,58.1883142834306,12.9492036231701,167.681874474322,22.2539590339318,3639970,50,59,67,13,254,241,123.435153065303,27.877934167845,777.1792134667,22.5850849418045,7721486,107,125,141,4,180,176,51.6065862041404,11.6910103595584,136.679723227302,22.6541052595734,3228250,45,52,59,6,255,249,107.161601790424,34.1020311883702,1162.94853117258,31.8229950081032,6703494,85,107,129
340,3211.000000,1110.000000,5.525835,0.204201,1.736889,5,92,87,39.2130177514793,12.7088506576442,161.514885038302,32.4097745758543,125913,30,40,49,19,183,164,81.8589224540642,24.2890122701093,589.956117057518,29.6717957455881,262849,65,83,100,5,68,63,33.9841170974774,10.7587310002139,115.750292734965,31.65811537594,109123,26,35,42,17,189,172,74.7689193397695,22.2286365349259,494.11228220184,29.7297817478318,240083,61,75,88
341,58033.000000,7022.000000,8.222775,0.137226,1.614913,7,109,102,43.4994916685334,11.4706463726522,131.575728206438,26.369610155582,2524406,36,44,52,17,188,171,89.8843416676718,22.9160732139348,525.146411546421,25.4950670926223,5216258,74,90,105,6,87,81,39.6913652576982,9.36784216838539,87.7564668917794,23.6017131372635,2303409,34,41,46,13,199,186,67.3895025244258,19.4984400094688,380.189162802852,28.933942645446,3910815,54,66,79
342,13249.000000,2686.000000,6.582783,0.171414,1.663733,7,75,68,39.5452486980149,10.8208959807432,117.091789826065,27.3633276740182,523935,33,40,47,16,184,168,82.1952600196241,22.1467223004199,490.477308651916,26.9440382512719,1089005,69,84,97,6,74,68,37.4255415503057,9.83997860834609,96.8251790127087,26.292147556822,495851,32,39,44,11,128,117,60.6284247867764,16.891134317717,285.310418539157,27.8600910004199,803266,50,60,71
343,9235.000000,2996.000000,8.794647,0.128303,1.753422,24,94,70,57.7246345425014,9.03091451414144,81.5574169617306,15.6448188641059,533087,52,58,64,51,188,137,130.134055224689,16.1220575802428,259.920740620665,12.3888074896357,1201788,120,130,141,19,70,51,48.9832160259881,6.26865077273033,39.2959825104525,12.7975483876038,452360,45,49,53,49,182,133,115.766973470493,16.7624975458591,280.981323974933,14.4795160859341,1069108,105,115,126
810,8557.000000,1998.000000,6.092980,0.185193,1.678701,9,79,70,41.0146079233376,10.8732494383811,118.227553349256,26.51067507144,350962,34,41,49,16,166,150,75.8771765805773,19.7748100464763,391.043112374219,26.0616050011778,649281,63,75,87,6,69,63,36.3569007829847,8.93428428402241,79.8214356677298,24.5738335546019,311106,31,37,42,13,186,173,68.4993572513731,22.0859848428169,487.79072647714,32.2426161777952,586149,53,65,79
811,92128.000000,8446.000000,7.849651,0.143749,1.581926,4,106,102,41.6437782216047,14.5101104072301,210.543304030008,34.8434052501565,3836558,32,42,52,8,219,211,85.9577001563043,31.8121242128487,1012.01124693371,37.009045326948,7919111,65,85,107,3,91,88,36.3963507294199,11.9528988043184,142.871789826277,32.8409265345843,3353123,29,38,45,7,244,237,76.2835837096214,30.1753783610191,910.553459230662,39.5568442037067,7027854,55,73,94
812,82317.000000,13120.000000,12.899834,0.087472,1.675493,13,85,72,47.8885770861426,8.60273905066599,74.0071191738536,17.964073217693,3942044,42,48,53,29,193,164,101.247081404813,17.804515857176,317.000784908433,17.5852139243291,8334356,90,101,112,14,72,58,43.0784771067945,6.37950771693821,40.6981187104742,14.8090372394618,3546091,39,43,47,16,185,169,76.033613955805,17.2177076716229,296.44945746546,22.6448629439484,6258859,65,74,85
813,66448.000000,9366.000000,10.249632,0.110090,1.647100,6,85,79,41.4519624367927,10.980749156417,120.576852036152,26.4902998818471,2754400,34,42,49,10,195,185,75.9597730556224,22.1370454692123,490.048782105973,29.1431169140042,5047375,62,74,89,4,74,70,36.3695671803516,9.25523776023917,85.6594259985569,25.4477533767277,2416685,31,37,43,8,160,152,51.3045990849988,18.365549709243,337.293416122677,35.7970825945174,3409088,38,49,62
348,24442.000000,1848.000000,3.334484,0.338397,1.488879,19,255,236,126.368341379593,39.0537181122943,1525.19289839455,30.9046693862844,3088695,100,125,148,32,250,218,137.289010719254,31.2671198033748,977.632780798593,22.7746704849624,3355618,115,132,156,22,207,185,104.944685377629,27.2848557000022,744.463350569943,25.9992734284938,2565058,86,104,123,6,255,249,37.1358726781769,22.583398580608,510.009891450608,60.8128931729112,907675,27,32,37
349,5270.000000,924.000000,3.590556,0.314263,1.593672,8,255,247,68.4527514231499,30.9058241875299,955.169968710505,45.1491335921347,360746,48,70,81,17,213,196,98.3647058823529,30.5447413005648,932.981221118428,31.0525416881714,518382,78,105,117,7,166,159,63.607779886148,24.6594654724324,608.089237386085,38.7680021478041,335213,42,70,80,5,182,177,50.1683111954459,22.9294343120148,525.758957869002,45.7050153087398,264387,35,50,62
816,70574.000000,10456.000000,11.102947,0.101629,1.657934,5,98,93,46.0756794286848,12.9537527723613,167.799710887457,28.1140786917985,3251745,37,47,55,10,229,219,89.9789440870576,26.889234425232,723.030927975082,29.8839186190225,6350174,72,90,106,4,102,98,38.4431943775328,10.3959935625659,108.076682152911,27.0424810708279,2713090,32,39,45,7,194,187,72.1098563210247,23.5395267986093,554.109321902444,32.6439796160653,5089081,55,71,87
817,2378.000000,586.000000,3.389899,0.332865,1.639647,15,88,73,47.4154751892346,10.5186268061823,110.641509887736,22.1839531591797,112754,40,47,54,43,191,148,118.326745164003,24.9540293825544,622.703582425386,21.089086282199,281381,102,117,136,17,70,53,43.813708999159,8.58560203326492,73.7125622736027,19.5956978520803,104189,38,44,50,39,173,134,103.046257359125,19.5264039359232,381.280450668838,18.9491636439274,245044,91,104,116
595,8188.000000,2024.000000,6.309815,0.178829,1.689783,5,77,72,38.8153395212506,12.0198439233985,144.476647942859,30.9667365316175,317820,31,40,48,9,150,141,69.1413043478261,20.3795911891847,415.327737038295,29.4752773055336,566129,57,70,81,5,106,101,36.180752320469,13.6682663656664,186.821505442807,37.7777284579394,296248,27,36,44,4,140,136,62.3507572056668,18.2809074207011,334.191576124246,29.3194633713921,510528,51,63,73
1149,4162.000000,1366.000000,5.973030,0.188912,1.732627,9,93,84,38.314992791927,11.3279076063311,128.321490737574,29.5652087626594,159467,30,38,46,12,203,191,79.5406054781355,22.7568348281779,517.873531396971,28.6103364330479,331048,64,81,93,6,66,60,32.9125420470927,9.10943353156561,82.9817792660119,27.6776966012878,136982,27,33,39,11,166,155,64.4288803459875,19.138393326787,366.278099130805,29.7046809195077,268153,52,64,76
719,136642.000000,17692.000000,13.501434,0.083575,1.654253,4,93,89,45.924283895142,10.7423022133655,115.397056843278,23.3913330862016,6275186,39,46,53,9,216,207,94.9804086591238,23.1308005077445,535.033932129072,24.3532332975728,12978313,81,96,109,4,87,83,40.2654966994043,8.77666823072431,77.0299052322054,21.7969948222548,5501958,36,41,46,6,230,224,73.8805125803194,20.7806301781485,431.834590600978,28.1273497602725,10095181,61,73,86
718,64766.000000,11554.000000,12.807191,0.088105,1.688813,6,92,86,50.0449773029058,10.0957127690875,101.923416315916,20.1732787448008,3241213,44,50,57,20,227,207,107.420328567458,22.2249486657591,493.948343195628,20.6897046044708,6957185,93,107,122,8,77,69,42.7794213013001,7.61831383508673,58.0387056898739,17.8083611309983,2770652,38,43,48,15,212,197,88.8595250594448,21.3956981728217,457.775900302486,24.0781144829533,5755076,74,88,103
717,10748.000000,2630.000000,7.156274,0.157677,1.696690,6,91,85,37.8730926684034,13.3141904843866,177.267668254531,35.1547485201659,407060,28,38,48,12,174,162,67.6862672125046,21.2482274333292,451.487169058482,31.3922281555566,727492,53,68,82,5,78,73,33.1620766654261,11.0982923749813,123.172093640568,33.4668196052754,356426,25,34,41,6,156,150,55.6172311127652,18.2728139156449,333.895728395787,32.8545911942225,597774,42,55,68
716,2979.000000,632.000000,3.266457,0.345444,1.612355,10,87,77,41.1832829808661,10.3859060821309,107.867045146844,25.2187424857708,122685,35,41,48,31,193,162,94.3514602215509,23.776464177646,565.320248790882,25.1998899877282,281073,78,91,109,8,74,66,37.5055387713998,8.20185625282685,67.2704459920348,21.8683867010097,111729,33,38,43,27,202,175,94.2108089963075,22.6796036473594,514.364421601316,24.0732500749975,280654,80,92,106
715,24650.000000,5534.000000,9.943191,0.113483,1.704552,8,94,86,51.8184178498986,11.3151987006297,128.033721634732,21.8362489055652,1277324,45,52,59,11,218,207,117.107667342799,24.8179107041458,615.928691718953,21.192387541542,2886704,102,118,133,5,76,71,45.5141176470588,8.89686588629586,79.1542225987351,19.5474862443495,1121923,40,46,51,12,240,228,110.274036511156,27.011089213538,729.598940501709,24.4945139110831,2718255,93,109,127
714,2087.000000,586.000000,3.618524,0.311834,1.667648,31,78,47,55.0809774796358,7.01396084737713,49.1956467685394,12.733907726983,114954,50,55,60,76,208,132,150.434115955918,18.0448343691387,325.616047409651,11.9951742691309,313956,138,150,163,27,72,45,53.4810733109727,5.90140207308927,34.8265464282624,11.0345617762284,111615,50,54,57,59,180,121,115.040249161476,15.4882619212386,239.88625734089,13.4633417731029,240089,104,115,126
713,2058.000000,780.000000,4.850282,0.232642,1.745672,13,83,70,50.6404275996113,10.2185048234978,104.417840827848,20.1785516194501,104218,44,51,58,30,221,191,107.256559766764,21.3143729873096,454.302495842152,19.8723257893587,220734,93,106,123,12,75,63,41.5043731778426,7.92446301109958,62.7971140142855,19.0930796066813,85416,37,41,46,22,188,166,100.126336248785,25.0252851003033,626.264894351465,24.9937089859382,206060,82,98,117
712,2810.000000,830.000000,4.416925,0.255467,1.692854,22,72,50,50.1032028469751,6.50901567945852,42.3672851154369,12.9912167478361,140790,46,50,54,69,164,95,115.996797153025,12.7169146638402,161.719918567393,10.9631601699,325951,108,116,123,27,65,38,47.6192170818505,4.78173282211133,22.8649687820568,10.0416031911911,133810,45,48,51,51,125,74,82.8405693950178,11.0092580756769,121.203763376856,13.2896938735177,232782,75,82,90
711,29443.000000,4678.000000,7.690671,0.146721,1.642459,6,80,74,43.5450531535509,10.3515803005961,107.155214719689,23.7721154320189,1282097,37,44,51,16,193,177,93.8901946133207,22.1028002094984,488.533777101005,23.5411166208858,2764409,80,95,108,6,85,79,42.8575552762966,9.42087747176641,88.7529323380359,21.9818359004179,1261855,38,44,49,13,198,185,72.9608056244269,20.0212779263051,400.85156980235,27.4411415210608,2148185,60,72,85
710,2438.000000,914.000000,5.221850,0.216088,1.748401,18,87,69,53.5849056603774,11.0926060210442,123.045908338106,20.7009901096951,130640,46,54,61,45,200,155,117.253076292043,23.8133882894553,567.077461824368,20.3093931882378,285863,101,114,132,14,74,60,46.9901558654635,8.68295275090655,75.3936684744756,18.4782378159513,114562,42,48,52,54,221,167,111.201804757998,20.7825642362591,431.914976234235,18.6890530072663,271110,97,109,125
915,11109.000000,2452.000000,6.562632,0.171940,1.675627,15,82,67,45.2804032766226,8.07193524551172,65.1561386077343,17.8265533462665,503020,40,45,51,43,189,146,101.897560536502,15.4686428345626,239.278911143266,15.1805820994325,1131980,92,101,111,18,70,52,43.8403096588352,6.65996180976122,44.3550913074779,15.1914114238448,487022,40,44,48,31,159,128,77.4933837429111,15.8850367411596,252.33439226799,20.4985715862649,860874,66,76,87
914,14670.000000,3278.000000,7.634647,0.147797,1.687588,23,88,65,55.4634628493524,9.66749138322173,93.4603896446663,17.4303782825104,813649,49,56,62,60,210,150,129.622085889571,18.5895332384646,345.57074602398,14.3413316572468,1901556,117,129,142,25,77,52,49.2024539877301,6.87955939986178,47.3283375362266,13.9821469099435,721800,44,50,54,40,197,157,103.794683026585,18.4238397791274,339.437872206958,17.7502731757546,1522668,91,102,114
606,23510.000000,4330.000000,7.966300,0.141644,1.663820,9,89,80,48.6567418119949,9.88228010519501,97.659460077533,20.3101969782095,1143920,42,49,55,23,203,180,119.642152275627,22.3212864999336,498.239831012117,18.6567075862281,2812787,107,120,134,8,85,77,46.9213526159081,7.77288632654962,60.417761845462,16.5657763325312,1103121,42,47,52,17,182,165,91.7717141641855,19.9431388532775,397.728787321106,21.7312480592854,2157553,79,91,104
1103,7935.000000,1670.000000,5.288568,0.213362,1.652867,15,73,58,42.8680529300567,6.72287756279679,45.1970827243565,15.6827219882503,340158,39,43,47,35,152,117,80.891745431632,12.7013785444047,161.325016928264,15.7016991988875,641876,73,79,87,17,67,50,43.1908002520479,5.40597732634723,29.2245908529803,12.5165018818814,342719,40,43,47,22,116,94,51.476370510397,10.8806744357959,118.389076177782,21.1372214628035,408465,44,50,57
917,17978.000000,4428.000000,9.316054,0.121122,1.713950,6,94,88,39.9717432417399,12.9099149998999,166.665905304639,32.2976031388565,718612,31,40,49,13,172,159,73.592001334965,22.4908806253169,505.839711302256,30.5615830760551,1323037,59,74,87,4,73,69,33.6451774390922,10.4491564093754,109.184869667592,31.0569216889747,604873,26,34,41,9,131,122,55.3847480253643,17.1233958421126,293.210685165678,30.917168449102,995707,44,54,66
594,156551.000000,13346.000000,9.515208,0.118587,1.588306,5,95,90,46.7046010565247,12.4550824128069,155.129077909812,26.6677846101994,7311652,39,47,55,12,227,215,97.5705425069147,28.4360628726433,808.609671696923,29.1441065530901,15274766,78,96,116,4,101,97,41.9742448147888,10.7360750815075,115.263308155766,25.5777682931054,6571110,36,43,49,9,244,235,92.2528632841694,27.3598368873509,748.560674502449,29.6574392526697,14442278,74,90,109
736,2818.000000,992.000000,5.271525,0.214052,1.737138,16,98,82,48.722143364088,10.5295460850553,110.871340757303,21.6114180494292,137299,42,48,55,41,172,131,113.565649396735,20.2645767603982,410.65307127807,17.8439315656137,320028,100,113,127,17,71,54,42.9985805535841,7.58107338321334,57.4726736416658,17.6309852223283,121170,38,43,48,42,187,145,101.420156139106,21.4847771147159,461.59564766902,21.1839322010586,285802,86,98,114
916,12208.000000,3142.000000,8.021932,0.140662,1.711529,11,86,75,43.485501310616,8.39178002354857,70.4219719636288,19.2978803753607,530871,38,43,49,28,161,133,95.1272116644823,17.4881008044933,305.833669748121,18.3839098177024,1161313,84,95,106,14,79,65,42.3699213630406,7.33018452054371,53.7316051052186,17.3004440053973,517252,38,43,47,19,132,113,66.9082568807339,13.2787104798398,176.324152007407,19.8461461991298,816816,58,66,75
1061,93536.000000,17094.000000,15.767011,0.071566,1.703022,9,98,89,47.5866404379063,8.24352830499114,67.9557589151901,17.323198757323,4451064,42,48,53,21,201,180,96.4614907629148,17.010197257638,289.346810743757,17.6341845052406,9022622,86,97,107,9,97,88,44.7976394115635,6.8301535617955,46.6509976777077,15.2466818598313,4190192,41,45,49,14,134,120,63.6003036264112,13.6345638576227,185.901331587592,21.4378911423321,5948918,55,63,72
911,4889.000000,1482.000000,5.979065,0.188722,1.718980,5,79,74,29.5158519124565,12.9003847488117,166.419926667373,43.7066319043542,144303,19,29,38,10,138,128,55.7737778686848,21.9027761074127,479.731601211447,39.2707414566414,272678,38,56,72,4,61,57,25.7907547555737,10.9130607573714,119.094895094079,42.3138479691561,126091,17,25,34,7,147,140,48.0380445898957,19.1793961797779,367.84923782088,39.9254306529623,234858,33,47,60
1063,4175.000000,1604.000000,7.002791,0.161133,1.770510,22,90,68,50.4675449101796,9.65356007472097,93.1912221162467,19.1282537953888,210702,44,50,57,59,237,178,123.418682634731,22.3260871164031,498.454165929219,18.0897143283236,515273,109,121,135,21,71,50,45.32,6.91620469803705,47.8338874251498,15.2608223698964,189211,40,45,50,52,209,157,109.140838323353,24.4378874743173,597.210344207394,22.3911487668024,455663,92,105,122
1062,2750.000000,1214.000000,6.530515,0.172786,1.793498,7,77,70,35.6356363636364,11.3068106207375,127.843966413223,31.7289426386541,97998,27,36,43,19,153,134,69.748,21.1806289201843,448.619041454545,30.3673638243165,191807,55,69,84,7,58,51,30.6036363636364,9.01461366360935,81.2632595041323,29.4560213580391,84160,24,31,37,13,127,114,54.0447272727273,16.9041522445652,285.750363107438,31.2780785427251,148623,43,53,64
1065,6179.000000,1036.000000,3.717883,0.303500,1.590833,17,68,51,45.098721475967,6.45486501732746,41.6652823919179,14.3127450315132,278665,41,45,50,35,136,101,85.7090144036252,12.7799659625715,163.327530004486,14.9108772881081,529596,77,85,93,16,66,50,43.5905486324648,5.72519082722261,32.7778100081139,13.1340187422158,269346,40,44,47,21,84,63,52.0158601715488,9.62254498657407,92.5933720186418,18.4992518720998,321406,45,52,58
1064,10902.000000,2022.000000,5.462898,0.206553,1.637536,13,76,63,43.6637314254265,7.60558431716491,57.8449128055048,17.4185395266882,476022,39,44,49,32,164,132,79.1765731058521,14.586494838078,212.765831661277,18.4227408005865,863183,69,79,89,15,79,64,43.4806457530728,6.90095173587916,47.6231348609336,15.8713184138749,474026,39,44,48,18,109,91,47.4942212438085,10.0630152492691,101.264275907023,21.1878729363964,517782,40,47,54
619,2113.000000,758.000000,4.651730,0.242572,1.732184,27,83,56,53.1590156176053,8.07731718382203,65.2430528880666,15.1946327259434,112325,48,54,59,79,189,110,132.672976810222,15.2181957461467,231.593481768037,11.4704562391142,280338,122,132,143,28,68,40,47.8854708944628,5.4820743876128,30.0531395913203,11.4483042250853,101182,44,48,51,60,175,115,110.848083293895,17.1347521862255,293.59973248336,15.4578696149356,234222,98,109,122
910,59641.000000,6614.000000,7.639885,0.147696,1.600012,9,108,99,48.6661524789993,12.5089192115682,156.473059841541,25.7035302245563,2902498,41,49,57,17,241,224,99.7778038597609,26.8069453935943,718.612321335148,26.8666420352084,5950848,83,100,116,5,78,73,40.3623514025586,9.26259400434508,85.7956476893295,22.9485985887282,2407251,35,41,47,16,236,220,85.7788601800775,24.904567736095,620.237494121746,29.033456126384,5115937,69,85,101
913,38779.000000,5014.000000,7.182590,0.157099,1.612774,4,100,96,47.3721601897934,15.8379182683419,250.839655074677,33.4329661237492,1837045,37,47,58,12,219,207,78.8028572165347,24.3241643077939,591.664969272555,30.8671096035971,3055896,63,78,94,6,76,70,39.7297248510792,11.3190866110866,128.12172170928,28.4902214991784,1540679,33,41,48,11,230,219,61.5005544237861,23.1630381172775,536.526334822452,37.663137079491,2384930,46,58,73
298,2601.000000,902.000000,4.989206,0.226164,1.730650,6,84,78,32.5371011149558,13.0257289789651,169.669615433451,40.0334649757036,84629,22,31,42,9,159,150,61.1872356785852,24.6618485289733,608.206772866024,40.3055445395856,159148,42,61,77,4,79,75,27.6163014225298,12.0369971261662,144.889299815334,43.5865648408164,71830,18,27,36,5,125,120,50.3583237216455,20.7068482607764,428.77356489482,41.119018129422,130982,35,49,65
299,47514.000000,3446.000000,4.459637,0.253020,1.512701,1,255,254,52.1407585132803,30.3886170013007,923.46804325174,58.281885165826,2477416,35,48,62,3,255,252,78.0022309214126,33.0148910584555,1089.98303160168,42.3255728310104,3706198,58,78,99,2,254,252,46.8144336406112,26.4712438563617,700.726751302969,56.5450477508247,2224341,31,43,56,1,197,196,47.5048827713937,27.8205934975027,773.98542255329,58.5636504596441,2257147,27,43,65
296,5446.000000,1628.000000,6.223155,0.181319,1.719265,8,89,81,41.2229159015791,14.6340309655876,214.154862301778,35.4997472777685,224500,30,41,52,12,218,206,75.7214469335292,24.1230337146907,581.920755600103,31.8575974068043,412379,60,78,93,6,70,64,32.6788468600808,11.2187485969014,125.860320080478,34.3303074460862,177969,25,33,41,11,191,180,64.2701065001836,22.073274933182,487.229466275841,34.3445438870075,350015,49,64,79
297,3480.000000,918.000000,4.389834,0.257044,1.673176,13,90,77,55.2899425287356,10.8530207669023,117.788059766812,19.6292856720943,192409,49,56,62,33,240,207,134.985344827586,22.9407172809364,526.276509363853,16.9949688317928,469749,123,137,150,18,72,54,47.6103448275862,7.56993500454582,57.3039159730481,15.8997693294582,165684,43,48,53,29,195,166,123.337068965517,23.7698714092301,565.006786811335,19.2722849736892,429213,110,123,139
294,11846.000000,2672.000000,6.925413,0.162933,1.682473,7,111,104,50.8781867296978,11.9661829465891,143.18953431124,23.5192795100231,602703,43,51,59,17,191,174,106.163683943947,23.0380177774189,530.75026311267,21.7004694275517,1257615,93,106,121,7,89,82,43.5071754178626,9.52503162336439,90.7262274260917,21.8930131222762,515386,38,44,50,19,204,185,94.9231808205301,24.5256846876803,601.509209399517,25.837402914311,1124460

---------------------
All the lines of the output of v.db.select Training_Ben2 at haarlooj_Ben_Test:

cat|id|Type|code
1|4|B29|18
2|5|B31|19
3|3|B28|17
4|2|B27|16
5|1|A7|15
6|22|wolk|1
7|23|wolk|1
8|20|straat|2
9|6|bare1|4
10|8|dorp|5
11|19|rivier|3
12|24|zwamp|9
13|9|interesting|7
14|7|bare2|4
15|12|maripa2|14
16|21|straat|2
17|25|zwamp2|10
18|15|openzwamp|8
19|13|mataki|12
20|14|Mauricius|11
21|10|maripa|13
22|16|privatehousing|6
23|17|privatehousing|6
24|18|privatehousing|6


>> At first I was using "Type" as attribute collumn for classification, but
just in case I added the column "code" with only numbers to use
as attribute column.


Reinstalling it and giving another go.

Best,
Jamille


On Thu, Jun 7, 2018 at 9:39 AM, Moritz Lennert <mlennert at club.worldonline.be
> wrote:

> On 07/06/18 13:45, Jamille Haarloo wrote:
>
>> I see. That was one of the big problems then. I knew it used R-resources
>> but wasn't sure the software itself was required. Must have overlooked it
>> in the documentation and other user- topics as I was reading about the
>> module.
>>
>
> You are right that it is never explicitely stated that it is the user's
> responsibility to install R. I just committed a patch to the man page which
> explains this in the Dependencies section.
>
>
>> Now I have R-3.5, but still get an error:
>>
>> v.class.mlR --overwrite training_map=Training_Ben2 at haarlooj_Ben_Test
>> segments_file=C:\Users\haarlooj\Documents\CELOS\Stats_Training_Ben_test
>> raster_segments_map=best_myregion1_at_haarlooj_Ben_Test_
>> rank1 at haarlooj_Ben_Test train_class_column=code output_class_column=vote
>> output_prob_column=prob classifiers=svmRadial,rf,C5.0 folds=5 partitions=10
>> tunelength=10 weighting_modes=smv,qbwwv weighting_metric=accuracy
>> classification_results=C:\Users\haarlooj\Documents\CELOS\v.
>> class.mIRR_optional_output\Ben_test_Classifier-results
>> accuracy_file=C:\Users\haarlooj\Documents\CELOS\v.class.
>> mIRR_optional_output\Ben_test_Classifier-accuracy
>> model_details=C:\Users\haarlooj\Documents\CELOS\v.class.
>> mIRR_optional_output\Ben_test_Classifier-module-runs
>> bw_plot_file=C:\Users\haarlooj\Documents\CELOS\v.class.mIRR_
>> optional_output\Ben_test_Classifier-performance
>> r_script_file=C:\Users\haarlooj\Documents\CELOS\v.class.
>> mIRR_optional_output\Ben_test_R_script processes=3
>>
>
> [...]
>
> Error in eval(predvars, data, env) : object 'id' not found
>>
>
> This seems to be the relevant error, but I'm not sure I understand where
> it comes from.
>
> Could you provide us with the first 20 lines of
>
> C:\Users\haarlooj\Documents\CELOS\Stats_Training_Ben_test
>
> and the first 20 lines of the output of
>
> v.db.select Training_Ben2 at haarlooj_Ben_Test
>
> ?
>
>
> Calls: data.frame ... predict.train -> model.frame -> model.frame.default
>> -> eval -> eval
>> Execution halted
>> ERROR: There was an error in the execution of the R script.
>> Please check the R output.
>> Error in atexit._run_exitfuncs:
>> Traceback (most recent call last):
>>    File "C:\Program Files\GRASS GIS
>> 7.4.0\Python27\lib\atexit.py", line 24, in _run_exitfuncs
>>      func(*targs, **kargs)
>>    File "C:\Users\haarlooj\AppData\Roaming\GRASS7\addons/scri
>> pts/v.class.mlR.py <http://v.class.mlR.py>", line 236, in cleanup
>>      gscript.try_remove(model_output_csv)
>> NameError: global name 'model_output_csv' is not defined
>> Error in sys.exitfunc:
>> Traceback (most recent call last):
>>    File "C:\Program Files\GRASS GIS
>> 7.4.0\Python27\lib\atexit.py", line 24, in _run_exitfuncs
>>      func(*targs, **kargs)
>>    File "C:\Users\haarlooj\AppData\Roaming\GRASS7\addons/scri
>> pts/v.class.mlR.py <http://v.class.mlR.py>", line 236, in cleanup
>>      gscript.try_remove(model_output_csv)
>> NameError: global name 'model_output_csv' is not defined
>>
>
>
> This last error should not be happening anymore since yesterday. Could you
> reinstall using g.extension ?
>
> Moritz
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20180607/17deb8a9/attachment-0001.html>


More information about the grass-user mailing list