From 3d38468c4602ddcb2eb491008c78b3579610ee87 Mon Sep 17 00:00:00 2001 From: ROSPARS Benoit <benoit.rospars@inria.fr> Date: Tue, 11 Jan 2022 21:07:10 +0000 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 30ea94f..36253ef 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ To manually update (using javascript console): 4. Paste it inside `notebooks.json` ```js -const baseUrl = "https://github.com/INRIA/scikit-learn-mooc/raw/master/"; +const baseUrl = "https://github.com/INRIA/scikit-learn-mooc/raw/main/"; const apiUrl = "https://api.github.com/repos/INRIA/scikit-learn-mooc/contents"; let datasets, notebooks, wrapups, figures; @@ -30,11 +30,16 @@ fetch(`${apiUrl}/datasets`) }).then(function(data_notebooks) { // Filter out solutions notebooks = data_notebooks.map(item => item.path).filter(item => item.indexOf('sol') === -1) - return fetch(`${apiUrl}/evaluation`) -}).then(function(response_wrapups) { - return response_wrapups.json() -}).then(function(data_wrapups) { - wrapups = data_wrapups.map(item => item.path.replace('.md', '.ipynb')) + wrapups = [ + "evaluation/ensemble_questions.ipynb", + "evaluation/linear_models_questions.ipynb", + "evaluation/trees_questions.ipynb", + "evaluation/predictive_modeling_pipeline_questions.ipynb", + "evaluation/overfit_questions.ipynb", + "evaluation/tuning_questions.ipynb", + "evaluation/evaluation_questions.ipynb", + "evaluation/sandbox_notebook.ipynb" + ]; console.log(JSON.stringify({baseUrl, notebooks, datasets, wrapups, figures}, null, 2)) }); ``` -- GitLab