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

Implement dynamic inputs and outputs. #135

Closed pvk-developer closed 3 years ago

pvk-developer commented 3 years ago

This pull request contains the code necessary to support the dynamic inputs and outputs where instead of obtaining the raw value from the json or dict we call a function if this is a str. Also two new methods are added for the MLPipeline called get_fit_args and get_produce_args which do exactly this function, return the inputs and outputs dynamically for MLPipeline which will allow us to make this a primitive in our MLPrimitives library.

Resolve #134 and helps solving the #116