-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #916 from alan-turing-institute/dev
Documentation update. No new release.
- Loading branch information
Showing
19 changed files
with
9,221 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Learning MLJ | ||
|
||
[MLJ Cheatsheet](@ref) | ||
|
||
See also [Getting help and reporting problems](@ref). | ||
|
||
The present document, although littered with examples, is primarily | ||
intended as a complete reference. | ||
|
||
#### New to machine learning? | ||
|
||
Try the "Introduction to Statistical | ||
Learning" notebooks at [Data Science | ||
Tutorials](https://juliaai.github.io/DataScienceTutorials.jl/), | ||
starting with [this | ||
tutorial](https://juliaai.github.io/DataScienceTutorials.jl/isl/lab-2/). | ||
Or have a look at the [Julia Data | ||
Science](https://github.com/JuliaDataScience/JuliaDataScience) book. | ||
|
||
#### Know a little machine learning and just want some MLJ basics? | ||
|
||
Read [Getting Started](@ref). | ||
|
||
#### A practicing data scientist transitioning from another platform? | ||
|
||
If, for example, you're coming from scikit-learn or R, we recommend | ||
your start with [MLJ for Data Scientists in Two | ||
Hours](https://github.com/alan-turing-institute/MLJ.jl/blob/dev/examples/telco/notebook.ipynb). | ||
|
||
#### Want a compressed survey of key MLJ functionality? | ||
|
||
Try this [Lightning | ||
Tour](https://github.com/alan-turing-institute/MLJ.jl/blob/dev/examples/lightning_tour/lightning_tour.ipynb). | ||
|
||
#### Something more leisurely? | ||
|
||
See | ||
[MLJTutorial](https://github.com/ablaom/MLJTutorial.jl). | ||
|
||
#### Prefer a video resource? | ||
|
||
Try the slightly older [MLJ JuliaCon2020 | ||
Workshop](https://github.com/ablaom/MachineLearningInJulia2020) | ||
version of preceding resource, and accompanying [video | ||
recording](https://www.youtube.com/watch?time_continue=27&v=qSWbCn170HU&feature=emb_title). | ||
|
||
#### Looking for more end-to-end examples? | ||
|
||
Browse [Data Science | ||
Tutorials](https://juliaai.github.io/DataScienceTutorials.jl). | ||
|
||
#### Power MLJ user seeking to wrap complicated workflows? | ||
|
||
Learn about [Learning Networks](@ref). | ||
|
||
#### Completely new to Julia? | ||
|
||
Browse [these resources](https://julialang.org/learning/) or visit | ||
[HelloJulia](https://github.com/ablaom/HelloJulia.jl). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# helper | ||
function runcommand(cmd) | ||
@info cmd | ||
run(cmd) | ||
end | ||
|
||
function generate(dir; execute=true, pluto=true) | ||
quote | ||
using Pkg | ||
Pkg.activate(temp=true) | ||
Pkg.add(name="Literate", rev="fe/pluto") | ||
using Literate | ||
|
||
const OUTDIR = $dir | ||
const INFILE = joinpath(OUTDIR, "notebook.jl") | ||
|
||
# generate pluto notebook: | ||
if $pluto | ||
TEMPDIR = tempdir() | ||
Literate.notebook(INFILE, TEMPDIR, flavor=Literate.PlutoFlavor()) | ||
runcommand(`mv $TEMPDIR/notebook.jl $OUTDIR/notebook.pluto.jl`) | ||
end | ||
|
||
Literate.notebook(INFILE, OUTDIR, execute=false) | ||
runcommand( | ||
`mv $OUTDIR/notebook.ipynb $OUTDIR/notebook.unexecuted.ipynb`) | ||
$execute && Literate.notebook(INFILE, OUTDIR, execute=true) | ||
|
||
end |> eval | ||
end | ||
|
||
# Pkg.add("Pluto") | ||
# using Pluto | ||
# Pluto.run(notebook=joinpath(OUTDIR, "notebook.pluto.jl")) | ||
|
||
# Pkg.add("IJulia") | ||
# Pkg.instantiate() | ||
# using IJulia | ||
# IJulia.notebook(dir=OUTDIR) |
Oops, something went wrong.