MLBazaar / MLBlocks

A library for composing end-to-end tunable machine learning pipelines.
https://mlbazaar.github.io/MLBlocks
MIT License
114 stars 35 forks source link

Allow loading a primitive or pipeline directly from the JSON path #114

Closed csala closed 4 years ago

csala commented 4 years ago

Allow directly passing a JSON path as the pipeline or primitive name:

from mlblocks import MLPipeline

pipeline = MLPipeline('path/to/my_pipeline.json')
pipeline = MLPipeline(['my.primitive', 'my/primitive/path.json'])