JuliaML / LearnBase.jl

Abstractions for Julia Machine Learning Packages
Other
17 stars 10 forks source link

Example using LearnBase #28

Closed davidbp closed 4 years ago

davidbp commented 7 years ago

I know JuliaML is in an state of "get your hands dirty" but it would be really nice to have an explanation on how to make a model in a "JuliaML" way. If its not clear, maybe open a discussion on how we would like that to be.

The JuliaML ecosystem is right now focused on providing tools to be used afterwards to create models. There is nevertheless not a single example showing how to use the tools to build a model and how to use the model with the provided tools (MLDataUtils for example).

I would like to do a couple of things:

I am doing tutorials for myself but I would like to generate something more readable such as MLDataPattern documentation but I have no idea on how to build this (is it markdown? I see the extension .rst and I have no idea on how to start building pretty documentation like that).

joshday commented 7 years ago

I'm not sure there is a defined "JuliaML way" yet. JuliaML really doesn't enforce what a model should look like, other than you need to be able to update! the model from data, whatever you decide those things are. See https://github.com/JuliaML/LearningStrategies.jl

I have some examples in https://github.com/joshday/SparseRegression.jl/blob/master/src/algorithms.jl but that may be a nontrivial introduction. All SparseRegression does is add a model type and a few learning strategy subtypes and LearningStrategies takes care of everything.

joshday commented 7 years ago

This issue also inspired me to write this: https://joshday.github.io/2017/07/13/JuliaML.html

davidbp commented 7 years ago

Thank you for your effort, I am looking at SparseRegression to get some inspiration. I also would like to benchmark your implementations (and my implementation) vs the equivalent algorithm from Scikit-learn.

juliohm commented 4 years ago

We are currently revamping some of the JuliaML packages. Thank you for sharing the issue, I will close it for now, and we can get back to it in the future if the planned workflow is still unclear.