This project contains a complete example of a machine-learning pipeline.
In particular, we'll see how
- Define a
DataLoader
- Define multiple data
Processor
- Define a SVM classifier
Model
- Train and evaluate our classifier with a
Routine
We consider the IMDB data to perform a binary classification for sentiment analysis.
Check the online documentation of cinnamon-examples for a detailed walkthrough on the project.
Want to use the Component
and Configuration
of this example project?
You can quickly integrate them into your project as follows
- Download the repository
- Pick any runnable script that starts with
setup_registry
- Specify the repository base path in
module_directories
ofsetup_registry
setup_registry(directory=Path(__file__).parent.parent.resolve(),
module_directories=['/path/to/this/repository'],
registrations_to_file=True)
Done! Cinnamon will automatically import all registered Configuration
.
You can code your custom Configuration
with children pointing to the RegistrationKey
of this project!
Don't hesitate to contact:
- Federico Ruggeri @ [email protected]
for questions/doubts/issues!