Commit b70b59d0 authored by Lionel's avatar Lionel

Documentation/kaggle titanic notebook

parent 03a32b6e
......@@ -80,6 +80,7 @@ apps/pyAgrum/notebooks/*.png
apps/pyAgrum/notebooks/WaterSprinkler.*
apps/pyAgrum/notebooks/*.csv
apps/pyAgrum/notebooks/*.html
.ipynb_checkpoints
apps/pyAgrum/samples/actuel.png
apps/pyAgrum/samples/alarm.csv
......
......@@ -53,7 +53,7 @@ namespace gum {
}
for ( const auto& child : __model.dag().children( __node ) ) {
__mb.addNode( child );
if ( !__mb.nodes().exists( child ) ) __mb.addNode( child );
__mb.addArc( __node, child );
for ( const auto& opar : __model.dag().parents( child ) ) {
if ( opar != __node ) {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
PassengerId,Survived
892,0
893,1
894,0
895,0
896,1
897,0
898,1
899,0
900,1
901,0
902,0
903,0
904,1
905,0
906,1
907,1
908,0
909,0
910,1
911,1
912,0
913,0
914,1
915,0
916,1
917,0
918,1
919,0
920,0
921,0
922,0
923,0
924,1
925,1
926,0
927,0
928,1
929,1
930,0
931,0
932,0
933,0
934,0
935,1
936,1
937,0
938,0
939,0
940,1
941,1
942,0
943,0
944,1
945,1
946,0
947,0
948,0
949,0
950,0
951,1
952,0
953,0
954,0
955,1
956,0
957,1
958,1
959,0
960,0
961,1
962,1
963,0
964,1
965,0
966,1
967,0
968,0
969,1
970,0
971,1
972,0
973,0
974,0
975,0
976,0
977,0
978,1
979,1
980,1
981,0
982,1
983,0
984,1
985,0
986,0
987,0
988,1
989,0
990,1
991,0
992,1
993,0
994,0
995,0
996,1
997,0
998,0
999,0
1000,0
1001,0
1002,0
1003,1
1004,1
1005,1
1006,1
1007,0
1008,0
1009,1
1010,0
1011,1
1012,1
1013,0
1014,1
1015,0
1016,0
1017,1
1018,0
1019,1
1020,0
1021,0
1022,0
1023,0
1024,1
1025,0
1026,0
1027,0
1028,0
1029,0
1030,1
1031,0
1032,1
1033,1
1034,0
1035,0
1036,0
1037,0
1038,0
1039,0
1040,0
1041,0
1042,1
1043,0
1044,0
1045,1
1046,0
1047,0
1048,1
1049,1
1050,0
1051,1
1052,1
1053,0
1054,1
1055,0
1056,0
1057,1
1058,0
1059,0
1060,1
1061,1
1062,0
1063,0
1064,0
1065,0
1066,0
1067,1
1068,1
1069,0
1070,1
1071,1
1072,0
1073,0
1074,1
1075,0
1076,1
1077,0
1078,1
1079,0
1080,1
1081,0
1082,0
1083,0
1084,0
1085,0
1086,0
1087,0
1088,0
1089,1
1090,0
1091,1
1092,1
1093,0
1094,0
1095,1
1096,0
1097,0
1098,1
1099,0
1100,1
1101,0
1102,0
1103,0
1104,0
1105,1
1106,1
1107,0
1108,1
1109,0
1110,1
1111,0
1112,1
1113,0
1114,1
1115,0
1116,1
1117,1
1118,0
1119,1
1120,0
1121,0
1122,0
1123,1
1124,0
1125,0
1126,0
1127,0
1128,0
1129,0
1130,1
1131,1
1132,1
1133,1
1134,0
1135,0
1136,0
1137,0
1138,1
1139,0
1140,1
1141,1
1142,1
1143,0
1144,0
1145,0
1146,0
1147,0
1148,0
1149,0
1150,1
1151,0
1152,0
1153,0
1154,1
1155,1
1156,0
1157,0
1158,0
1159,0
1160,1
1161,0
1162,0
1163,0
1164,1
1165,1
1166,0
1167,1
1168,0
1169,0
1170,0
1171,0
1172,1
1173,0
1174,1
1175,1
1176,1
1177,0
1178,0
1179,0
1180,0
1181,0
1182,0
1183,1
1184,0
1185,0
1186,0
1187,0
1188,1
1189,0
1190,0
1191,0
1192,0
1193,0
1194,0
1195,0
1196,1
1197,1
1198,0
1199,0
1200,0
1201,1
1202,0
1203,0
1204,0
1205,1
1206,1
1207,1
1208,0
1209,0
1210,0
1211,0
1212,0
1213,0
1214,0
1215,0
1216,1
1217,0
1218,1
1219,0
1220,0
1221,0
1222,1
1223,0
1224,0
1225,1
1226,0
1227,0
1228,0
1229,0
1230,0
1231,0
1232,0
1233,0
1234,0
1235,1
1236,0
1237,1
1238,0
1239,1
1240,0
1241,1
1242,1
1243,0
1244,0
1245,0
1246,1
1247,0
1248,1
1249,0
1250,0
1251,1
1252,0
1253,1
1254,1
1255,0
1256,1
1257,1
1258,0
1259,1
1260,1
1261,0
1262,0
1263,1
1264,0
1265,0
1266,1
1267,1
1268,1
1269,0
1270,0
1271,0
1272,0
1273,0
1274,1
1275,1
1276,0
1277,1
1278,0
1279,0
1280,0
1281,0
1282,0
1283,1
1284,0
1285,0
1286,0
1287,1
1288,0
1289,1
1290,0
1291,0
1292,1
1293,0
1294,1
1295,0
1296,0
1297,0
1298,0
1299,0
1300,1
1301,1
1302,1
1303,1
1304,1
1305,0
1306,1
1307,0
1308,0
1309,0
Pclass,Sex,SibSp,Parch,Embarked,Survived,decade
3,male,0,0,Q,0,30th
3,female,1,0,S,1,40th
2,male,0,0,Q,0,60th
3,male,0,0,S,0,20th
3,female,1,1,S,1,20th
3,male,0,0,S,0,10th
3,female,0,0,Q,1,30th
2,male,1,1,S,0,20th
3,female,0,0,C,1,10th
3,male,2,0,S,0,20th
3,male,0,0,S,0,nan
1,male,0,0,S,0,40th
1,female,1,0,S,1,20th
2,male,1,0,S,0,60th
1,female,1,0,S,1,40th
2,female,1,0,C,1,20th
2,male,0,0,Q,0,30th
3,male,0,0,C,0,20th
3,female,1,0,S,1,20th
3,female,0,0,C,1,40th
1,male,1,0,C,0,50th
3,male,0,1,S,0,00th
1,female,0,0,S,1,nan
1,male,0,1,C,0,20th
1,female,1,3,C,1,40th
3,male,1,0,S,0,50th
1,female,0,1,C,1,20th
3,male,0,0,C,0,20th
1,male,0,0,S,0,40th
3,male,2,0,C,0,nan
2,male,1,0,S,0,50th
2,male,2,0,S,0,20th
3,female,1,2,S,1,30th
3,female,1,2,S,1,nan
1,male,1,0,C,0,30th
3,male,0,0,C,0,10th
3,female,0,0,S,1,nan
3,female,0,0,S,1,20th
3,male,0,0,S,0,20th
3,male,0,0,S,0,nan
3,male,0,1,C,0,30th
1,male,0,0,S,0,nan
3,male,0,0,S,0,40th
2,female,0,0,S,1,30th
1,female,1,0,S,1,40th
3,male,0,0,S,0,20th
1,male,0,0,C,0,40th
3,male,0,0,Q,0,nan
1,female,0,0,C,1,60th
3,female,0,2,S,1,30th
1,male,1,0,S,0,20th
2,male,0,0,C,0,20th
2,female,2,1,S,1,20th
1,female,3,2,S,1,20th
2,male,0,0,C,0,nan
3,male,4,1,Q,0,10th
3,male,0,0,S,0,30th
3,male,0,0,S,0,20th
3,male,1,0,S,0,nan
1,female,0,0,C,1,30th
3,male,0,0,S,0,10th
2,male,0,0,S,0,30th
3,male,0,0,S,0,10th
3,female,0,0,Q,1,20th
1,male,2,2,C,0,10th
2,female,0,0,S,1,nan
3,female,0,0,Q,1,10th
1,male,0,0,S,0,40th
1,male,0,0,C,0,30th
1,female,1,4,S,1,60th
3,female,0,0,Q,1,20th
3,male,0,0,S,0,20th
3,female,0,0,S,1,20th
1,male,0,0,C,0,20th
1,female,0,0,C,1,30th
1,male,0,0,C,0,30th
3,male,0,0,S,0,nan
1,female,2,0,S,1,50th
2,male,0,0,S,0,30th
3,female,0,0,Q,1,20th
3,male,1,1,C,0,00th
1,male,1,0,S,0,60th
1,male,0,0,S,0,40th
3,male,0,0,S,0,nan
2,male,0,0,Q,0,nan
3,male,1,0,C,0,nan
3,female,0,0,Q,1,20th
3,female,0,0,S,1,10th
3,female,0,0,Q,1,nan
2,male,1,1,S,0,00th
3,female,1,0,S,1,20th
3,male,0,0,S,0,nan
1,female,1,2,S,1,20th
3,male,0,0,S,0,nan
1,male,0,0,C,0,20th
3,male,0,0,S,0,20th
1,female,1,0,S,1,70th
3,male,0,0,S,0,20th
3,female,0,0,S,1,20th
3,male,0,0,S,0,30th
1,female,1,0,C,1,40th
2,male,1,0,S,0,20th
3,male,0,0,Q,0,nan
3,male,0,0,S,0,20th
3,female,1,1,C,1,10th
3,male,0,0,S,0,20th
3,male,0,0,Q,0,20th
3,male,0,0,Q,0,nan
3,male,0,0,S,0,nan
2,male,0,0,S,0,10th
2,male,0,0,C,0,40th
3,female,0,0,Q,1,nan
1,female,0,0,C,1,30th
3,female,0,0,Q,1,10th
1,female,1,0,S,1,60th
3,male,1,0,C,0,10th
3,male,0,0,C,0,nan
3,female,1,1,S,1,00th
1,male,0,0,C,0,30th
2,female,1,0,S,1,20th
2,female,0,0,S,1,10th
3,male,1,0,Q,0,nan
1,female,1,0,C,1,30th
3,male,0,0,S,0,20th
3,male,0,0,Q,0,nan
3,female,0,1,S,1,10th
3,male,0,0,S,0,20th
3,female,2,0,Q,1,nan
2,male,0,0,S,0,40th
3,male,0,0,S,0,20th
3,male,0,0,S,0,30th
1,male,0,0,C,0,50th
3,female,0,4,S,1,nan
3,male,1,0,C,0,nan
3,male,0,0,S,0,40th
3,male,0,0,S,0,20th
3,male,0,0,C,0,20th
2,male,0,0,S,0,20th
3,female,0,0,S,1,20th
3,male,1,6,S,0,40th
3,female,5,2,S,1,10th
1,female,0,0,S,1,30th
1,male,1,3,C,0,60th
2,male,0,0,S,0,20th
1,male,0,0,S,0,40th
3,male,3,0,S,0,30th
1,male,0,0,S,0,nan
3,male,0,0,S,0,20th
1,male,0,0,S,0,nan
2,male,1,1,S,0,30th
1,female,0,1,C,1,20th
3,male,0,0,C,0,nan
3,male,0,0,S,0,60th
3,female,0,2,S,1,30th
3,male,4,2,S,0,10th
3,male,0,0,S,0,20th
1,female,0,0,S,1,20th
3,female,0,0,S,1,20th
1,male,0,0,S,0,40th
3,female,0,2,S,1,20th
3,female,0,0,Q,1,nan
3,male,1,1,C,0,00th
2,female,0,0,S,1,20th
3,male,0,0,S,0,nan
2,male,0,0,S,0,40th
3,female,1,1,S,1,20th
1,male,0,0,C,0,40th
3,male,2,2,S,0,10th
1,female,0,0,C,1,nan
3,female,0,0,S,1,20th
3,male,0,0,S,0,nan
3,male,0,0,C,0,20th
3,male,1,0,S,0,20th
3,male,0,0,C,0,nan
3,male,1,5,S,0,40th
2,female,0,2,S,1,10th
2,female,0,0,S,1,20th
1,male,1,0,C,0,50th
2,female,0,3,S,1,30th
1,female,0,2,C,1,60th
2,male,0,0,S,0,30th
1,male,1,1,C,0,30th
1,female,1,0,S,1,10th
3,male,0,0,Q,0,nan
1,female,1,1,C,1,20th
2,male,0,0,S,0,40th
2,female,0,1,S,1,20th
3,male,2,0,S,0,10th
3,female,8,2,S,1,nan
2,male,0,0,S,0,40th
2,male,1,0,S,0,30th
1,male,0,0,S,0,nan
3,male,1,1,S,0,10th
2,male,0,0,Q,0,60th
2,male,0,2,S,0,00th
3,male,0,0,S,0,30th
1,male,0,2,C,0,00th
3,female,0,0,S,1,10th
2,male,0,0,S,0,20th
3,female,0,0,S,1,nan
3,female,0,0,Q,1,nan
3,male,0,2,S,0,00th
1,male,1,0,C,0,40th
2,female,1,1,S,1,00th
2,male,0,0,S,0,20th
1,male,0,0,C,0,nan
3,female,0,0,Q,1,30th
2,male,0,0,S,0,20th
1,female,0,0,C,1,30th
3,male,0,0,S,0,20th
3,male,0,0,S,0,30th
3,male,0,0,S,0,nan
2,male,0,0,S,0,10th
2,female,1,0,S,1,60th
3,female,4,2,S,1,30th
1,male,0,0,S,0,40th
3,female,0,0,Q,1,nan
1,male,1,1,S,0,50th
1,female,1,1,C,1,50th
3,male,0,0,S,0,nan
2,female,1,0,C,1,30th
3,male,0,0,S,0,20th
2,female,0,0,S,1,20th
3,male,0,0,S,0,20th
1,female,0,0,C,1,50th
3,female,0,2,C,1,nan
3,male,0,0,S,0,20th
3,female,0,0,Q,1,nan
3,male,0,0,S,0,40th
2,male,0,0,S,0,30th
2,male,0,0,S,0,10th
1,female,0,0,S,1,20th
3,male,1,0,S,0,20th
3,male,0,0,Q,0,nan
1,male,1,0,C,0,30th
3,male,0,0,S,0,20th
1,male,1,0,C,0,60th
3,male,0,0,C,0,20th
2,female,1,1,S,1,10th
1,female,1,0,C,1,40th
1,female,0,0,C,1,50th
2,female,0,2,S,1,40th
1,male,1,1,C,0,40th
3,male,0,0,S,0,nan
3,male,1,2,S,0,nan
1,male,1,0,S,0,40th
2,female,0,0,S,1,20th
2,male,1,1,S,0,40th
2,female,1,0,S,1,20th
3,female,1,0,C,1,nan
2,female,1,2,S,1,00th
3,male,0,0,S,0,20th
1,male,1,0,C,0,20th
3,male,0,0,S,0,20th
3,male,0,0,S,0,30th
3,male,0,0,S,0,nan
3,male,0,0,Q,0,nan
3,male,0,0,S,0,20th
2,female,0,0,S,1,10th
3,male,0,0,S,0,20th
3,male,1,0,S,0,30th
3,male,0,0,S,0,20th
2,female,0,2,S,1,20th
3,female,1,1,S,1,00th
2,male,0,0,C,0,30th
3,male,0,0,S,0,nan
1,male,0,0,S,0,nan
3,male,0,0,S,0,nan
3,female,0,0,S,1,nan
3,male,0,0,S,0,10th
1,male,0,0,C,0,40th
3,male,0,0,Q,0,nan
1,female,1,0,C,1,20th
3,female,1,0,Q,1,nan
3,male,0,0,C,0,nan
2,female,1,0,S,1,20th
2,male,0,0,S,0,20th
2,male,1,0,S,0,40th
2,male,1,0,S,0,30th
2,male,0,0,S,0,20th
3,female,0,0,S,1,20th
3,male,1,1,S,0,00th
3,female,0,0,Q,1,nan
3,female,1,1,C,1,00th
3,female,1,1,S,1,00th
3,male,0,0,S,0,30th
3,male,0,0,S,0,nan
1,male,1,0,S,0,20th
3,male,0,0,C,0,nan
3,male,0,0,S,0,nan
1,male,0,0,S,0,nan
3,female,0,0,Q,1,30th
3,male,0,0,C,0,nan
1,male,1,1,S,0,50th
3,male,0,0,S,0,30th
3,male,0,0,S,0,20th
2,female,1,2,C,1,00th
3,male,2,0,C,0,nan
1,male,0,0,S,0,30th
3,male,0,0,S,0,20th
3,male,0,0,S,0,30th
2,male,0,0,C,0,nan
2,male,0,1,S,0,40th
3,male,0,0,S,0,20th
3,female,0,0,Q,1,nan
1,female,1,1,S,1,60th
1,male,1,2,S,0,30th
3,male,0,1,S,0,00th
1,male,1,1,S,0,50th
3,female,1,0,S,1,40th
3,male,0,0,S,0,10th
3,male,0,0,C,0,20th
3,male,0,0,S,0,nan