Please use kedro-starters-sklearn which works with Kedro 0.17.x.
A simple example project using Kedro and Scikit-learn
Pipeline visualized by Kedro-viz
$ pip install kedro scikit-learn pandas kedro-viz
Note: kedro-viz
is optional.
$ git clone https://github.com/Minyus/kedro_sklearn.git
$ cd kedro_sklearn
Optionally, you may dowonload another dataset such as Kaggle Titanic, replace train.csv
and test.csv
in data/input
directory, and modify base/parameters.yml
to set parameters appropriate for the dataset.
$ python main.py
Alternatively, Kedro CLI can be used to run.
$ kedro run
In this example project, the Kedro catalog is configured in Python code at src/catalogs/catalog.py
using a hook at src/hooks/add_catalog_dict.py
so users can get benefit from linting/auto-completion by the Python IDE. It is also possible to configure in catalog.yml
as well.
This project was created from the GitHub template repository at https://github.com/Minyus/kedro_template
To use for a new project, fork the template repository and hit Use this template
button next to Clone or download
.