[ENH] Add the option to turn off all type checking and conversion and go straight to _fit/_predict/_transform #1799
Labels
enhancement
New feature, improvement request or other non-bug code enhancement
Describe the feature or idea you want to propose
in estimator base classes (looking at BaseCollectionTransformer but same elsewhere) we do checks, get meta data and convert to inner type. All good, but it does introduce an overhead. For example, this is minirocket with and without the checks
the checks involve several scans of the data. For larger data it would be good to have an option to just go straight to inner methods and fail without informative error.
This is minirocket in safe and unsafe modes (time in secs, to transform length 500 series varying number of cases). Note the difference is linear in n
<style> </style>Describe your proposed solution
I would have a parameter in constructor, say "unsafe", that defaults to False, then just test in fit etc.
etc
Describe alternatives you've considered, if relevant
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: