Method: EasyML::Data::Preprocessor::SimpleImputer#transform_custom
- Defined in:
- lib/easy_ml/data/preprocessor/simple_imputer.rb
#transform_custom(x) ⇒ Object
201 202 203 204 205 |
# File 'lib/easy_ml/data/preprocessor/simple_imputer.rb', line 201 def transform_custom(x) raise "Transform required" unless .key?(:transform) [:transform].call(x) end |