Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mooc-scikit-learn-modele
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
learninglab
mooc-scikit-learn
mooc-scikit-learn-modele
Commits
bbd2cdd3
Commit
bbd2cdd3
authored
4 years ago
by
ROSPARS Benoit
Browse files
Options
Downloads
Patches
Plain Diff
Add figures
parent
d59d8992
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+6
-1
6 additions, 1 deletion
README.md
with
6 additions
and
1 deletion
README.md
+
6
−
1
View file @
bbd2cdd3
...
...
@@ -12,13 +12,18 @@ To manually update (using javascript console):
```
js
const
baseUrl
=
"
https://github.com/INRIA/scikit-learn-mooc/raw/master/
"
;
const
apiUrl
=
"
https://api.github.com/repos/INRIA/scikit-learn-mooc/contents
"
;
let
datasets
,
notebooks
,
wrapups
;
let
datasets
,
notebooks
,
wrapups
,
figures
;
fetch
(
`
${
apiUrl
}
/datasets`
)
.
then
(
function
(
response_datasets
)
{
return
response_datasets
.
json
()
}).
then
(
function
(
data_datasets
)
{
datasets
=
data_datasets
.
map
(
item
=>
item
.
path
)
return
fetch
(
`
${
apiUrl
}
/figures`
)
}).
then
(
function
(
response_figures
)
{
return
response_figures
.
json
()
}).
then
(
function
(
data_figures
)
{
figures
=
data_figures
.
map
(
item
=>
item
.
path
)
return
fetch
(
`
${
apiUrl
}
/notebooks`
)
}).
then
(
function
(
response_notebooks
)
{
return
response_notebooks
.
json
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment