Vote Module

Un voteur.

Ce script lit toutes les prédictions déjà réalisées, et fait un simple vote pour tenter de les améliorer !


Sortie du script

$ python Vote.py
Opening the file 'train.csv' and 'test.csv'...
Voting, using the files ['SVM_best.csv', 'RandomForest_best.csv', 'ExtraTrees_best.csv', 'GradientBoosting_best.csv', 'KNN_best.csv', 'DecisionTree_best.csv', 'AdaBoost_best.csv', 'QDA_best.csv', 'RNN_best.csv', 'Dummy_best.csv', 'NuSVC_best.csv'].
For the file SVM_best.csv, re-constructing the prediction.
	the prediction said 0.32% of victims...
For the file RandomForest_best.csv, re-constructing the prediction.
	the prediction said 0.35% of victims...
For the file ExtraTrees_best.csv, re-constructing the prediction.
	the prediction said 0.38% of victims...
For the file GradientBoosting_best.csv, re-constructing the prediction.
	the prediction said 0.35% of victims...
For the file KNN_best.csv, re-constructing the prediction.
	the prediction said 0.36% of victims...
For the file DecisionTree_best.csv, re-constructing the prediction.
	the prediction said 0.39% of victims...
For the file AdaBoost_best.csv, re-constructing the prediction.
	the prediction said 0.38% of victims...
For the file QDA_best.csv, re-constructing the prediction.
	the prediction said 0.40% of victims...
For the file RNN_best.csv, re-constructing the prediction.
	the prediction said 0.00% of victims...
For the file Dummy_best.csv, re-constructing the prediction.
	the prediction said 0.00% of victims...
For the file NuSVC_best.csv, re-constructing the prediction.
	the prediction said 0.31% of victims...
Predicting for the testing dataset
  for the 0th passenger, the vote of all predictions is 0.0.
  for the 1th passenger, the vote of all predictions is 0.0909090909091.
  for the 2th passenger, the vote of all predictions is 0.181818181818.
  for the 3th passenger, the vote of all predictions is 0.272727272727.
  for the 4th passenger, the vote of all predictions is 0.454545454545.
  for the 5th passenger, the vote of all predictions is 0.0.
  for the 6th passenger, the vote of all predictions is 0.363636363636.
  for the 7th passenger, the vote of all predictions is 0.0.
  for the 8th passenger, the vote of all predictions is 0.727272727273.
  for the 9th passenger, the vote of all predictions is 0.0.
  for the 10th passenger, the vote of all predictions is 0.0.
  for the 11th passenger, the vote of all predictions is 0.0909090909091.
  for the 12th passenger, the vote of all predictions is 0.818181818182.
  for the 13th passenger, the vote of all predictions is 0.0.
  for the 14th passenger, the vote of all predictions is 0.818181818182.
  for the 15th passenger, the vote of all predictions is 0.818181818182.
  for the 16th passenger, the vote of all predictions is 0.0.
  for the 17th passenger, the vote of all predictions is 0.454545454545.
  for the 18th passenger, the vote of all predictions is 0.454545454545.
  for the 19th passenger, the vote of all predictions is 0.363636363636.
  for the 20th passenger, the vote of all predictions is 0.545454545455.
  for the 21th passenger, the vote of all predictions is 0.545454545455.
  for the 22th passenger, the vote of all predictions is 0.818181818182.
  for the 23th passenger, the vote of all predictions is 0.636363636364.
  for the 24th passenger, the vote of all predictions is 0.636363636364.
  for the 25th passenger, the vote of all predictions is 0.0.
  for the 26th passenger, the vote of all predictions is 0.818181818182.
  for the 27th passenger, the vote of all predictions is 0.272727272727.
  for the 28th passenger, the vote of all predictions is 0.454545454545.
  for the 29th passenger, the vote of all predictions is 0.0.
  for the 30th passenger, the vote of all predictions is 0.0.
  for the 31th passenger, the vote of all predictions is 0.0.
  for the 32th passenger, the vote of all predictions is 0.363636363636.
  for the 33th passenger, the vote of all predictions is 0.0909090909091.
  for the 34th passenger, the vote of all predictions is 0.636363636364.
  for the 35th passenger, the vote of all predictions is 0.0909090909091.
  for the 36th passenger, the vote of all predictions is 0.181818181818.
  for the 37th passenger, the vote of all predictions is 0.272727272727.
  for the 38th passenger, the vote of all predictions is 0.0.
  for the 39th passenger, the vote of all predictions is 0.454545454545.
  for the 40th passenger, the vote of all predictions is 0.181818181818.
  for the 41th passenger, the vote of all predictions is 0.0909090909091.
  for the 42th passenger, the vote of all predictions is 0.0.
  for the 43th passenger, the vote of all predictions is 0.818181818182.
  for the 44th passenger, the vote of all predictions is 0.818181818182.
  for the 45th passenger, the vote of all predictions is 0.0.
  for the 46th passenger, the vote of all predictions is 0.0909090909091.
  for the 47th passenger, the vote of all predictions is 0.0.
  for the 48th passenger, the vote of all predictions is 0.636363636364.
  for the 49th passenger, the vote of all predictions is 0.545454545455.
  for the 50th passenger, the vote of all predictions is 0.0909090909091.
  for the 51th passenger, the vote of all predictions is 0.0.
  for the 52th passenger, the vote of all predictions is 0.818181818182.
  for the 53th passenger, the vote of all predictions is 0.727272727273.
  for the 54th passenger, the vote of all predictions is 0.0909090909091.
  for the 55th passenger, the vote of all predictions is 0.0.
  for the 56th passenger, the vote of all predictions is 0.0.
  for the 57th passenger, the vote of all predictions is 0.0.
  for the 58th passenger, the vote of all predictions is 0.0.
  for the 59th passenger, the vote of all predictions is 0.818181818182.
  for the 60th passenger, the vote of all predictions is 0.0.
  for the 61th passenger, the vote of all predictions is 0.0909090909091.
  for the 62th passenger, the vote of all predictions is 0.0.
  for the 63th passenger, the vote of all predictions is 0.727272727273.
  for the 64th passenger, the vote of all predictions is 0.545454545455.
  for the 65th passenger, the vote of all predictions is 0.818181818182.
  for the 66th passenger, the vote of all predictions is 0.636363636364.
  for the 67th passenger, the vote of all predictions is 0.0.
  for the 68th passenger, the vote of all predictions is 0.181818181818.
  for the 69th passenger, the vote of all predictions is 0.636363636364.
  for the 70th passenger, the vote of all predictions is 0.727272727273.
  for the 71th passenger, the vote of all predictions is 0.0.
  for the 72th passenger, the vote of all predictions is 0.272727272727.
  for the 73th passenger, the vote of all predictions is 0.0.
  for the 74th passenger, the vote of all predictions is 0.818181818182.
  for the 75th passenger, the vote of all predictions is 0.181818181818.
  for the 76th passenger, the vote of all predictions is 0.0.
  for the 77th passenger, the vote of all predictions is 0.818181818182.
  for the 78th passenger, the vote of all predictions is 0.0.
  for the 79th passenger, the vote of all predictions is 0.727272727273.
  for the 80th passenger, the vote of all predictions is 0.545454545455.
  for the 81th passenger, the vote of all predictions is 0.181818181818.
  for the 82th passenger, the vote of all predictions is 0.181818181818.
  for the 83th passenger, the vote of all predictions is 0.0.
  for the 84th passenger, the vote of all predictions is 0.0909090909091.
  for the 85th passenger, the vote of all predictions is 0.0.
  for the 86th passenger, the vote of all predictions is 0.727272727273.
  for the 87th passenger, the vote of all predictions is 0.363636363636.
  for the 88th passenger, the vote of all predictions is 0.636363636364.
  for the 89th passenger, the vote of all predictions is 0.727272727273.
  for the 90th passenger, the vote of all predictions is 0.363636363636.
  for the 91th passenger, the vote of all predictions is 0.0.
  for the 92th passenger, the vote of all predictions is 0.727272727273.
  for the 93th passenger, the vote of all predictions is 0.0.
  for the 94th passenger, the vote of all predictions is 0.272727272727.
  for the 95th passenger, the vote of all predictions is 0.0.
  for the 96th passenger, the vote of all predictions is 0.818181818182.
  for the 97th passenger, the vote of all predictions is 0.0909090909091.
  for the 98th passenger, the vote of all predictions is 0.454545454545.
  for the 99th passenger, the vote of all predictions is 0.0909090909091.
  for the 100th passenger, the vote of all predictions is 0.818181818182.
  for the 101th passenger, the vote of all predictions is 0.0.
  for the 102th passenger, the vote of all predictions is 0.0.
  for the 103th passenger, the vote of all predictions is 0.0.
  for the 104th passenger, the vote of all predictions is 0.636363636364.
  for the 105th passenger, the vote of all predictions is 0.0.
  for the 106th passenger, the vote of all predictions is 0.0.
  for the 107th passenger, the vote of all predictions is 0.0.
  for the 108th passenger, the vote of all predictions is 0.0.
  for the 109th passenger, the vote of all predictions is 0.0.
  for the 110th passenger, the vote of all predictions is 0.0.
  for the 111th passenger, the vote of all predictions is 0.636363636364.
  for the 112th passenger, the vote of all predictions is 0.727272727273.
  for the 113th passenger, the vote of all predictions is 0.545454545455.
  for the 114th passenger, the vote of all predictions is 0.818181818182.
  for the 115th passenger, the vote of all predictions is 0.0.
  for the 116th passenger, the vote of all predictions is 0.0.
  for the 117th passenger, the vote of all predictions is 0.818181818182.
  for the 118th passenger, the vote of all predictions is 0.454545454545.
  for the 119th passenger, the vote of all predictions is 0.818181818182.
  for the 120th passenger, the vote of all predictions is 0.818181818182.
  for the 121th passenger, the vote of all predictions is 0.0.
  for the 122th passenger, the vote of all predictions is 0.818181818182.
  for the 123th passenger, the vote of all predictions is 0.0.
  for the 124th passenger, the vote of all predictions is 0.0.
  for the 125th passenger, the vote of all predictions is 0.818181818182.
  for the 126th passenger, the vote of all predictions is 0.0.
  for the 127th passenger, the vote of all predictions is 0.818181818182.
  for the 128th passenger, the vote of all predictions is 0.0.
  for the 129th passenger, the vote of all predictions is 0.0.
  for the 130th passenger, the vote of all predictions is 0.363636363636.
  for the 131th passenger, the vote of all predictions is 0.0909090909091.
  for the 132th passenger, the vote of all predictions is 0.0909090909091.
  for the 133th passenger, the vote of all predictions is 0.0.
  for the 134th passenger, the vote of all predictions is 0.0.
  for the 135th passenger, the vote of all predictions is 0.0.
  for the 136th passenger, the vote of all predictions is 0.0.
  for the 137th passenger, the vote of all predictions is 0.0.
  for the 138th passenger, the vote of all predictions is 0.181818181818.
  for the 139th passenger, the vote of all predictions is 0.181818181818.
  for the 140th passenger, the vote of all predictions is 0.0.
  for the 141th passenger, the vote of all predictions is 0.818181818182.
  for the 142th passenger, the vote of all predictions is 0.272727272727.
  for the 143th passenger, the vote of all predictions is 0.0.
  for the 144th passenger, the vote of all predictions is 0.363636363636.
  for the 145th passenger, the vote of all predictions is 0.0.
  for the 146th passenger, the vote of all predictions is 0.0.
  for the 147th passenger, the vote of all predictions is 0.0.
  for the 148th passenger, the vote of all predictions is 0.0909090909091.
  for the 149th passenger, the vote of all predictions is 0.0.
  for the 150th passenger, the vote of all predictions is 0.818181818182.
  for the 151th passenger, the vote of all predictions is 0.0.
  for the 152th passenger, the vote of all predictions is 0.0.
  for the 153th passenger, the vote of all predictions is 0.636363636364.
  for the 154th passenger, the vote of all predictions is 0.0.
  for the 155th passenger, the vote of all predictions is 0.0.
  for the 156th passenger, the vote of all predictions is 0.818181818182.
  for the 157th passenger, the vote of all predictions is 0.363636363636.
  for the 158th passenger, the vote of all predictions is 0.363636363636.
  for the 159th passenger, the vote of all predictions is 0.727272727273.
  for the 160th passenger, the vote of all predictions is 0.727272727273.
  for the 161th passenger, the vote of all predictions is 0.454545454545.
  for the 162th passenger, the vote of all predictions is 0.818181818182.
  for the 163th passenger, the vote of all predictions is 0.0.
  for the 164th passenger, the vote of all predictions is 0.0.
  for the 165th passenger, the vote of all predictions is 0.363636363636.
  for the 166th passenger, the vote of all predictions is 0.272727272727.
  for the 167th passenger, the vote of all predictions is 0.0.
  for the 168th passenger, the vote of all predictions is 0.818181818182.
  for the 169th passenger, the vote of all predictions is 0.272727272727.
  for the 170th passenger, the vote of all predictions is 0.0.
  for the 171th passenger, the vote of all predictions is 0.0.
  for the 172th passenger, the vote of all predictions is 0.0.
  for the 173th passenger, the vote of all predictions is 0.0.
  for the 174th passenger, the vote of all predictions is 0.181818181818.
  for the 175th passenger, the vote of all predictions is 0.818181818182.
  for the 176th passenger, the vote of all predictions is 0.818181818182.
  for the 177th passenger, the vote of all predictions is 0.545454545455.
  for the 178th passenger, the vote of all predictions is 0.818181818182.
  for the 179th passenger, the vote of all predictions is 0.727272727273.
  for the 180th passenger, the vote of all predictions is 0.0.
  for the 181th passenger, the vote of all predictions is 0.181818181818.
  for the 182th passenger, the vote of all predictions is 0.818181818182.
  for the 183th passenger, the vote of all predictions is 0.0.
  for the 184th passenger, the vote of all predictions is 0.818181818182.
  for the 185th passenger, the vote of all predictions is 0.0.
  for the 186th passenger, the vote of all predictions is 0.818181818182.
  for the 187th passenger, the vote of all predictions is 0.181818181818.
  for the 188th passenger, the vote of all predictions is 0.0.
  for the 189th passenger, the vote of all predictions is 0.0.
  for the 190th passenger, the vote of all predictions is 0.0.
  for the 191th passenger, the vote of all predictions is 0.0.
  for the 192th passenger, the vote of all predictions is 0.454545454545.
  for the 193th passenger, the vote of all predictions is 0.0909090909091.
  for the 194th passenger, the vote of all predictions is 0.727272727273.
  for the 195th passenger, the vote of all predictions is 0.0.
  for the 196th passenger, the vote of all predictions is 0.818181818182.
  for the 197th passenger, the vote of all predictions is 0.272727272727.
  for the 198th passenger, the vote of all predictions is 0.0.
  for the 199th passenger, the vote of all predictions is 0.181818181818.
  for the 200th passenger, the vote of all predictions is 0.727272727273.
  for the 201th passenger, the vote of all predictions is 0.818181818182.
  for the 202th passenger, the vote of all predictions is 0.272727272727.
  for the 203th passenger, the vote of all predictions is 0.818181818182.
  for the 204th passenger, the vote of all predictions is 0.0.
  for the 205th passenger, the vote of all predictions is 0.0.
  for the 206th passenger, the vote of all predictions is 0.272727272727.
  for the 207th passenger, the vote of all predictions is 0.0.
  for the 208th passenger, the vote of all predictions is 0.818181818182.
  for the 209th passenger, the vote of all predictions is 0.0.
  for the 210th passenger, the vote of all predictions is 0.0.
  for the 211th passenger, the vote of all predictions is 0.0.
  for the 212th passenger, the vote of all predictions is 0.0.
  for the 213th passenger, the vote of all predictions is 0.454545454545.
  for the 214th passenger, the vote of all predictions is 0.272727272727.
  for the 215th passenger, the vote of all predictions is 0.0.
  for the 216th passenger, the vote of all predictions is 0.727272727273.
  for the 217th passenger, the vote of all predictions is 0.0909090909091.
  for the 218th passenger, the vote of all predictions is 0.818181818182.
  for the 219th passenger, the vote of all predictions is 0.0.
  for the 220th passenger, the vote of all predictions is 0.818181818182.
  for the 221th passenger, the vote of all predictions is 0.0.
  for the 222th passenger, the vote of all predictions is 0.818181818182.
  for the 223th passenger, the vote of all predictions is 0.363636363636.
  for the 224th passenger, the vote of all predictions is 0.545454545455.
  for the 225th passenger, the vote of all predictions is 0.272727272727.
  for the 226th passenger, the vote of all predictions is 0.0.
  for the 227th passenger, the vote of all predictions is 0.636363636364.
  for the 228th passenger, the vote of all predictions is 0.0.
  for the 229th passenger, the vote of all predictions is 0.0.
  for the 230th passenger, the vote of all predictions is 0.0.
  for the 231th passenger, the vote of all predictions is 0.818181818182.
  for the 232th passenger, the vote of all predictions is 0.0909090909091.
  for the 233th passenger, the vote of all predictions is 0.0.
  for the 234th passenger, the vote of all predictions is 0.545454545455.
  for the 235th passenger, the vote of all predictions is 0.0.
  for the 236th passenger, the vote of all predictions is 0.545454545455.
  for the 237th passenger, the vote of all predictions is 0.363636363636.
  for the 238th passenger, the vote of all predictions is 0.818181818182.
  for the 239th passenger, the vote of all predictions is 0.818181818182.
  for the 240th passenger, the vote of all predictions is 0.545454545455.
  for the 241th passenger, the vote of all predictions is 0.727272727273.
  for the 242th passenger, the vote of all predictions is 0.272727272727.
  for the 243th passenger, the vote of all predictions is 0.0.
  for the 244th passenger, the vote of all predictions is 0.0.
  for the 245th passenger, the vote of all predictions is 0.0.
  for the 246th passenger, the vote of all predictions is 0.818181818182.
  for the 247th passenger, the vote of all predictions is 0.0909090909091.
  for the 248th passenger, the vote of all predictions is 0.818181818182.
  for the 249th passenger, the vote of all predictions is 0.181818181818.
  for the 250th passenger, the vote of all predictions is 0.818181818182.
  for the 251th passenger, the vote of all predictions is 0.0.
  for the 252th passenger, the vote of all predictions is 0.181818181818.
  for the 253th passenger, the vote of all predictions is 0.0.
  for the 254th passenger, the vote of all predictions is 0.0.
  for the 255th passenger, the vote of all predictions is 0.0.
  for the 256th passenger, the vote of all predictions is 0.0.
  for the 257th passenger, the vote of all predictions is 0.0.
  for the 258th passenger, the vote of all predictions is 0.818181818182.
  for the 259th passenger, the vote of all predictions is 0.0.
  for the 260th passenger, the vote of all predictions is 0.0.
  for the 261th passenger, the vote of all predictions is 0.0.
  for the 262th passenger, the vote of all predictions is 0.818181818182.
  for the 263th passenger, the vote of all predictions is 0.818181818182.
  for the 264th passenger, the vote of all predictions is 0.181818181818.
  for the 265th passenger, the vote of all predictions is 0.0.
  for the 266th passenger, the vote of all predictions is 0.0909090909091.
  for the 267th passenger, the vote of all predictions is 0.0.
  for the 268th passenger, the vote of all predictions is 0.181818181818.
  for the 269th passenger, the vote of all predictions is 0.0.
  for the 270th passenger, the vote of all predictions is 0.181818181818.
  for the 271th passenger, the vote of all predictions is 0.0.
  for the 272th passenger, the vote of all predictions is 0.818181818182.
  for the 273th passenger, the vote of all predictions is 0.818181818182.
  for the 274th passenger, the vote of all predictions is 0.0.
  for the 275th passenger, the vote of all predictions is 0.727272727273.
  for the 276th passenger, the vote of all predictions is 0.0.
  for the 277th passenger, the vote of all predictions is 0.0.
  for the 278th passenger, the vote of all predictions is 0.0.
  for the 279th passenger, the vote of all predictions is 0.0.
  for the 280th passenger, the vote of all predictions is 0.181818181818.
  for the 281th passenger, the vote of all predictions is 0.727272727273.
  for the 282th passenger, the vote of all predictions is 0.636363636364.
  for the 283th passenger, the vote of all predictions is 0.272727272727.
  for the 284th passenger, the vote of all predictions is 0.818181818182.
  for the 285th passenger, the vote of all predictions is 0.0.
  for the 286th passenger, the vote of all predictions is 0.0.
  for the 287th passenger, the vote of all predictions is 0.0909090909091.
  for the 288th passenger, the vote of all predictions is 0.0.
  for the 289th passenger, the vote of all predictions is 0.0.
  for the 290th passenger, the vote of all predictions is 0.0.
  for the 291th passenger, the vote of all predictions is 0.272727272727.
  for the 292th passenger, the vote of all predictions is 0.0.
  for the 293th passenger, the vote of all predictions is 0.0.
  for the 294th passenger, the vote of all predictions is 0.0.
  for the 295th passenger, the vote of all predictions is 0.0.
  for the 296th passenger, the vote of all predictions is 0.727272727273.
  for the 297th passenger, the vote of all predictions is 0.0.
  for the 298th passenger, the vote of all predictions is 0.0.
  for the 299th passenger, the vote of all predictions is 0.0.
  for the 300th passenger, the vote of all predictions is 0.272727272727.
  for the 301th passenger, the vote of all predictions is 0.0.
  for the 302th passenger, the vote of all predictions is 0.0.
  for the 303th passenger, the vote of all predictions is 0.0.
  for the 304th passenger, the vote of all predictions is 0.636363636364.
  for the 305th passenger, the vote of all predictions is 0.727272727273.
  for the 306th passenger, the vote of all predictions is 0.363636363636.
  for the 307th passenger, the vote of all predictions is 0.818181818182.
  for the 308th passenger, the vote of all predictions is 0.0.
  for the 309th passenger, the vote of all predictions is 0.181818181818.
  for the 310th passenger, the vote of all predictions is 0.0.
  for the 311th passenger, the vote of all predictions is 0.363636363636.
  for the 312th passenger, the vote of all predictions is 0.0.
  for the 313th passenger, the vote of all predictions is 0.363636363636.
  for the 314th passenger, the vote of all predictions is 0.818181818182.
  for the 315th passenger, the vote of all predictions is 0.727272727273.
  for the 316th passenger, the vote of all predictions is 0.363636363636.
  for the 317th passenger, the vote of all predictions is 0.0.
  for the 318th passenger, the vote of all predictions is 0.0.
  for the 319th passenger, the vote of all predictions is 0.0.
  for the 320th passenger, the vote of all predictions is 0.0.
  for the 321th passenger, the vote of all predictions is 0.0.
  for the 322th passenger, the vote of all predictions is 0.0.
  for the 323th passenger, the vote of all predictions is 0.454545454545.
  for the 324th passenger, the vote of all predictions is 0.818181818182.
  for the 325th passenger, the vote of all predictions is 0.0.
  for the 326th passenger, the vote of all predictions is 0.818181818182.
  for the 327th passenger, the vote of all predictions is 0.0909090909091.
  for the 328th passenger, the vote of all predictions is 0.0909090909091.
  for the 329th passenger, the vote of all predictions is 0.0.
  for the 330th passenger, the vote of all predictions is 0.727272727273.
  for the 331th passenger, the vote of all predictions is 0.0909090909091.
  for the 332th passenger, the vote of all predictions is 0.0.
  for the 333th passenger, the vote of all predictions is 0.545454545455.
  for the 334th passenger, the vote of all predictions is 0.0.
  for the 335th passenger, the vote of all predictions is 0.0.
  for the 336th passenger, the vote of all predictions is 0.0.
  for the 337th passenger, the vote of all predictions is 0.181818181818.
  for the 338th passenger, the vote of all predictions is 0.0.
  for the 339th passenger, the vote of all predictions is 0.0.
  for the 340th passenger, the vote of all predictions is 0.0.
  for the 341th passenger, the vote of all predictions is 0.0909090909091.
  for the 342th passenger, the vote of all predictions is 0.272727272727.
  for the 343th passenger, the vote of all predictions is 0.818181818182.
  for the 344th passenger, the vote of all predictions is 0.0.
  for the 345th passenger, the vote of all predictions is 0.545454545455.
  for the 346th passenger, the vote of all predictions is 0.0.
  for the 347th passenger, the vote of all predictions is 0.636363636364.
  for the 348th passenger, the vote of all predictions is 0.0.
  for the 349th passenger, the vote of all predictions is 0.818181818182.
  for the 350th passenger, the vote of all predictions is 0.818181818182.
  for the 351th passenger, the vote of all predictions is 0.0.
  for the 352th passenger, the vote of all predictions is 0.0.
  for the 353th passenger, the vote of all predictions is 0.0.
  for the 354th passenger, the vote of all predictions is 0.727272727273.
  for the 355th passenger, the vote of all predictions is 0.181818181818.
  for the 356th passenger, the vote of all predictions is 0.818181818182.
  for the 357th passenger, the vote of all predictions is 0.0.
  for the 358th passenger, the vote of all predictions is 0.0.
  for the 359th passenger, the vote of all predictions is 0.727272727273.
  for the 360th passenger, the vote of all predictions is 0.0.
  for the 361th passenger, the vote of all predictions is 0.818181818182.
  for the 362th passenger, the vote of all predictions is 0.818181818182.
  for the 363th passenger, the vote of all predictions is 0.272727272727.
  for the 364th passenger, the vote of all predictions is 0.818181818182.
  for the 365th passenger, the vote of all predictions is 0.272727272727.
  for the 366th passenger, the vote of all predictions is 0.0.
  for the 367th passenger, the vote of all predictions is 0.545454545455.
  for the 368th passenger, the vote of all predictions is 0.818181818182.
  for the 369th passenger, the vote of all predictions is 0.363636363636.
  for the 370th passenger, the vote of all predictions is 0.0.
  for the 371th passenger, the vote of all predictions is 0.818181818182.
  for the 372th passenger, the vote of all predictions is 0.181818181818.
  for the 373th passenger, the vote of all predictions is 0.0.
  for the 374th passenger, the vote of all predictions is 0.818181818182.
  for the 375th passenger, the vote of all predictions is 0.818181818182.
  for the 376th passenger, the vote of all predictions is 0.181818181818.
  for the 377th passenger, the vote of all predictions is 0.0.
  for the 378th passenger, the vote of all predictions is 0.0.
  for the 379th passenger, the vote of all predictions is 0.0909090909091.
  for the 380th passenger, the vote of all predictions is 0.0.
  for the 381th passenger, the vote of all predictions is 0.0.
  for the 382th passenger, the vote of all predictions is 0.363636363636.
  for the 383th passenger, the vote of all predictions is 0.363636363636.
  for the 384th passenger, the vote of all predictions is 0.272727272727.
  for the 385th passenger, the vote of all predictions is 0.818181818182.
  for the 386th passenger, the vote of all predictions is 0.0.
  for the 387th passenger, the vote of all predictions is 0.0.
  for the 388th passenger, the vote of all predictions is 0.0909090909091.
  for the 389th passenger, the vote of all predictions is 0.0.
  for the 390th passenger, the vote of all predictions is 0.181818181818.
  for the 391th passenger, the vote of all predictions is 0.818181818182.
  for the 392th passenger, the vote of all predictions is 0.727272727273.
  for the 393th passenger, the vote of all predictions is 0.0.
  for the 394th passenger, the vote of all predictions is 0.0.
  for the 395th passenger, the vote of all predictions is 0.818181818182.
  for the 396th passenger, the vote of all predictions is 0.0.
  for the 397th passenger, the vote of all predictions is 0.818181818182.
  for the 398th passenger, the vote of all predictions is 0.0.
  for the 399th passenger, the vote of all predictions is 0.0.
  for the 400th passenger, the vote of all predictions is 0.818181818182.
  for the 401th passenger, the vote of all predictions is 0.0.
  for the 402th passenger, the vote of all predictions is 0.818181818182.
  for the 403th passenger, the vote of all predictions is 0.0909090909091.
  for the 404th passenger, the vote of all predictions is 0.363636363636.
  for the 405th passenger, the vote of all predictions is 0.181818181818.
  for the 406th passenger, the vote of all predictions is 0.0.
  for the 407th passenger, the vote of all predictions is 0.0909090909091.
  for the 408th passenger, the vote of all predictions is 0.727272727273.
  for the 409th passenger, the vote of all predictions is 0.818181818182.
  for the 410th passenger, the vote of all predictions is 0.636363636364.
  for the 411th passenger, the vote of all predictions is 0.818181818182.
  for the 412th passenger, the vote of all predictions is 0.181818181818.
  for the 413th passenger, the vote of all predictions is 0.0.
  for the 414th passenger, the vote of all predictions is 0.818181818182.
  for the 415th passenger, the vote of all predictions is 0.0.
  for the 416th passenger, the vote of all predictions is 0.0.
  for the 417th passenger, the vote of all predictions is 0.363636363636.
Prediction: wrote in the file csv/Vote_best.csv.

Résultats

La soumission du résultat à Kaggle donne ??.??%.


Vote.csv_files = ['SVM_best.csv', 'RandomForest_best.csv', 'ExtraTrees_best.csv', 'GradientBoosting_best.csv', 'KNN_best.csv', 'DecisionTree_best.csv', 'AdaBoost_best.csv', 'QDA_best.csv', 'RNN_best.csv', 'Dummy_best.csv', 'NuSVC_best.csv']

Fichiers utilisés pour le vote.

Vote.vote(Outputs, z=0) → {0|1}[source]

Make the vote, by regarding the most probable output, by considering all the predictions, stored in Outputs :

  • Outputs must be a dictionnary {filename:Output}.
  • And Output is a prediction int-array (like [1,1,1,1,0,0,1,0,1,1,0,...]).
  • z is the index of the passenger.

Table des matières

Cette page en .txt et en .pdf

Sujet précédent

QDA Module