More input validation for Pipeline.fit_transform etc. #22
Labels
status: backlog
Things we will work on, but not right now
type: maintenance
Improvement of code or keeping the code up to date
The fit, fit_transform, transform, etc. functions in the Pipeline and PipelineElement classes expect an Iterable as input. Some Iterables lead to errors or even wrong results, so we should handle those during the input validation step.
For example,
pipeline.fit(["CCC"])
works correctly, but when you forget the[...]
list, e.g.pipeline.fit("CCC")
, you still give an Iterable, but it's just the SMILES string. Depending on the Pipeline elements, this gives an informative error, or even wrong results are reported without raising any errors.The text was updated successfully, but these errors were encountered: