Skip to content

Commit c9530b6

Browse files
committed
fix paths
1 parent 557b40c commit c9530b6

28 files changed

+36
-43
lines changed

_doc/notebooks/dsgarden/classification_multiple.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,4 @@
111111
},
112112
"nbformat": 4,
113113
"nbformat_minor": 2
114-
}
114+
}

_doc/notebooks/dsgarden/correlation_non_lineaire.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3056,4 +3056,4 @@
30563056
},
30573057
"nbformat": 4,
30583058
"nbformat_minor": 2
3059-
}
3059+
}

_doc/notebooks/dsgarden/discret_gradient.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2239,4 +2239,4 @@
22392239
},
22402240
"nbformat": 4,
22412241
"nbformat_minor": 2
2242-
}
2242+
}

_doc/notebooks/dsgarden/file_dattente_ex.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,4 +300,4 @@
300300
},
301301
"nbformat": 4,
302302
"nbformat_minor": 2
303-
}
303+
}

_doc/notebooks/dsgarden/quantile_regression_example.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,4 +236,4 @@
236236
},
237237
"nbformat": 4,
238238
"nbformat_minor": 2
239-
}
239+
}

_doc/notebooks/dsgarden/quantization_f8.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,4 +832,4 @@
832832
},
833833
"nbformat": 4,
834834
"nbformat_minor": 5
835-
}
835+
}

_doc/notebooks/dsgarden/regression_lineaire.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2101,4 +2101,4 @@
21012101
},
21022102
"nbformat": 4,
21032103
"nbformat_minor": 2
2104-
}
2104+
}

_doc/notebooks/dsgarden/split_train_test.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1314,4 +1314,4 @@
13141314
},
13151315
"nbformat": 4,
13161316
"nbformat_minor": 2
1317-
}
1317+
}

_doc/notebooks/image/segment_detection.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,4 +458,4 @@
458458
},
459459
"nbformat": 4,
460460
"nbformat_minor": 2
461-
}
461+
}

_doc/notebooks/metric/pvalues_examples.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1262,4 +1262,4 @@
12621262
},
12631263
"nbformat": 4,
12641264
"nbformat_minor": 2
1265-
}
1265+
}

_doc/notebooks/metric/roc_example.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,4 +947,4 @@
947947
},
948948
"nbformat": 4,
949949
"nbformat_minor": 0
950-
}
950+
}

_doc/notebooks/ml/logreg_voronoi.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1963,4 +1963,4 @@
19631963
},
19641964
"nbformat": 4,
19651965
"nbformat_minor": 2
1966-
}
1966+
}

_doc/notebooks/ml/mf_acp.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,4 +347,4 @@
347347
},
348348
"nbformat": 4,
349349
"nbformat_minor": 2
350-
}
350+
}

_doc/notebooks/ml/neural_tree.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1852,4 +1852,4 @@
18521852
},
18531853
"nbformat": 4,
18541854
"nbformat_minor": 4
1855-
}
1855+
}

_doc/notebooks/ml/neural_tree_cost.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,4 +913,4 @@
913913
},
914914
"nbformat": 4,
915915
"nbformat_minor": 5
916-
}
916+
}

_doc/notebooks/ml/neural_tree_onnx.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2416,4 +2416,4 @@
24162416
},
24172417
"nbformat": 4,
24182418
"nbformat_minor": 5
2419-
}
2419+
}

_doc/notebooks/ml/piecewise_linear_regression.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,4 +334,4 @@
334334
},
335335
"nbformat": 4,
336336
"nbformat_minor": 2
337-
}
337+
}

_doc/notebooks/ml/regression_no_inversion.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,4 +981,4 @@
981981
},
982982
"nbformat": 4,
983983
"nbformat_minor": 2
984-
}
984+
}

_doc/notebooks/ml/reseau_neurones.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,4 +216,4 @@
216216
},
217217
"nbformat": 4,
218218
"nbformat_minor": 1
219-
}
219+
}

_doc/notebooks/ml/survival.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1235,4 +1235,4 @@
12351235
},
12361236
"nbformat": 4,
12371237
"nbformat_minor": 4
1238-
}
1238+
}

_doc/notebooks/ml/valeurs_manquantes_mf.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,4 +919,4 @@
919919
},
920920
"nbformat": 4,
921921
"nbformat_minor": 2
922-
}
922+
}

_doc/notebooks/nlp/completion_profiling.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,4 +771,4 @@
771771
},
772772
"nbformat": 4,
773773
"nbformat_minor": 1
774-
}
774+
}

_doc/notebooks/nlp/completion_simple.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,4 +285,4 @@
285285
},
286286
"nbformat": 4,
287287
"nbformat_minor": 1
288-
}
288+
}

_doc/notebooks/nlp/completion_trie.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,4 +549,4 @@
549549
},
550550
"nbformat": 4,
551551
"nbformat_minor": 0
552-
}
552+
}

_doc/notebooks/nlp/completion_trie_long.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,4 +917,4 @@
917917
},
918918
"nbformat": 4,
919919
"nbformat_minor": 0
920-
}
920+
}

_unittests/ut_ml/test_neural_tree.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,7 @@ def test_neural_tree_node(self):
2323
res = neu.predict(numpy.array([4, 5]))
2424
self.assertEqual(res, 5.5)
2525
st = repr(neu)
26-
self.assertEqual(
27-
"NeuralTreeNode(weights=array([0., 1.]), "
28-
"bias=np.float64(0.5), activation='identity')",
29-
st,
30-
)
26+
self.assertIn("NeuralTreeNode(weights=array([0., 1.]), ", st)
3127
st = io.BytesIO()
3228
pickle.dump(neu, st)
3329
st = io.BytesIO(st.getvalue())

_unittests/ut_xrun_doc/test_documentation_notebook.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,11 @@ def _test_(self, fullname=fullname):
126126
def add_test_methods(cls):
127127
this = os.path.abspath(os.path.dirname(__file__))
128128
folds = [
129-
os.path.join(this, "..", "..", "_doc", "notebook", "dsgarden"),
130-
os.path.join(this, "..", "..", "_doc", "notebook", "image"),
131-
os.path.join(this, "..", "..", "_doc", "notebook", "metric"),
132-
os.path.join(this, "..", "..", "_doc", "notebook", "ml"),
133-
os.path.join(this, "..", "..", "_doc", "notebook", "nlp"),
129+
os.path.join(this, "..", "..", "_doc", "notebooks", "dsgarden"),
130+
os.path.join(this, "..", "..", "_doc", "notebooks", "image"),
131+
os.path.join(this, "..", "..", "_doc", "notebooks", "metric"),
132+
os.path.join(this, "..", "..", "_doc", "notebooks", "ml"),
133+
os.path.join(this, "..", "..", "_doc", "notebooks", "nlp"),
134134
]
135135
for fold in folds:
136136
cls.add_test_methods_path(os.path.normpath(fold))

_unittests/ut_xrun_doc/test_normalize_notebook.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,11 @@ def _test_(self, fullname=fullname):
6868
def add_test_methods(cls):
6969
this = os.path.abspath(os.path.dirname(__file__))
7070
folds = [
71-
os.path.join(this, "..", "..", "_doc", "c_data"),
72-
os.path.join(this, "..", "..", "_doc", "practice", "algo-base"),
73-
os.path.join(this, "..", "..", "_doc", "practice", "algo-compose"),
74-
os.path.join(this, "..", "..", "_doc", "practice", "exams"),
75-
os.path.join(this, "..", "..", "_doc", "practice", "ml"),
76-
os.path.join(this, "..", "..", "_doc", "practice", "py-base"),
77-
os.path.join(this, "..", "..", "_doc", "practice", "tds-base"),
78-
os.path.join(this, "..", "..", "_doc", "practice", "years", "2023"),
71+
os.path.join(this, "..", "..", "_doc", "notebooks", "dsgarden"),
72+
os.path.join(this, "..", "..", "_doc", "notebooks", "image"),
73+
os.path.join(this, "..", "..", "_doc", "notebooks", "metric"),
74+
os.path.join(this, "..", "..", "_doc", "notebooks", "ml"),
75+
os.path.join(this, "..", "..", "_doc", "notebooks", "nlp"),
7976
]
8077
for fold in folds:
8178
cls.add_test_methods_path(os.path.normpath(fold))

0 commit comments

Comments
 (0)