scicloj / noj

A clojure framework for data science
Eclipse Public License 1.0
35 stars 4 forks source link

Interaction ols #12

Closed daslu closed 7 months ago

daslu commented 7 months ago

Converting the Interaction-ols tutorial from the scicloj.ml tutorials:

behrica commented 7 months ago

In my latest docs: https://scicloj.github.io/noj/

I am proposing to only use the pipeline style , when needed. https://scicloj.github.io/noj/automl.html#best-practices-for-data-transformation-steps-in-or

I would even go a step further, by saying, we should only use the pipelines when doing AutoML, so when using function ml/evaluate-pipelines

So for most simple tutorials, which show "one model", with "one train / predict pair" I would suggest to use the simple functions ml/train and ml/predict and therefore the non-pipelined function tc/ and ds/ to transform the dataset This would change most lines of the tutorial, but would be easy to do. I suggest you to do this, at least for educational purpose.

daslu commented 7 months ago

Zulip discussion: https://clojurians.zulipchat.com/#narrow/stream/321125-noj-dev/topic/ols.20interaction.20tutorial

behrica commented 7 months ago

Looks good. We can merge it.

daslu commented 7 months ago

Thanks for your patient guidance, @behrica. I am learning a lot from this.