piex icon indicating copy to clipboard operation
piex copied to clipboard

Make MLBlocks an optional dependency

Open micahjsmith opened this issue 6 years ago • 0 comments

MLBlocks is a pretty heavy-weight dependency as it requires tensorflow, xgboost, etc. to be installed. To just "explore" pipelines from S3, users shoudn't need MLBlocks.

Desired functionality:

  • for all methods except PipelineExplorer.score_pipeline and Pipeline.score_template, MLBlocks should not need to be installed
  • if the user wants to score pipelines or templates using PipelineExplorer.score_pipeline and Pipeline.score_template, they can enable this by pip install piex[mlblocks] (or piex[scoring] or piex[all] or some other variant)

Note that this would require a workaround for using MLPipeline to load pipelines/templates for the express purpose of extracting metadata from them

micahjsmith avatar Jun 18 '19 15:06 micahjsmith