Module: EasyML::Transforms::ClassMethods

Defined in:
lib/easy_ml/transforms.rb

Instance Method Summary collapse

Instance Method Details

#apply_transforms(df) ⇒ Object



15
16
17
# File 'lib/easy_ml/transforms.rb', line 15

def apply_transforms(df)
  new.apply_transforms(df)
end

#transform(method_name) ⇒ Object



11
12
13
# File 'lib/easy_ml/transforms.rb', line 11

def transform(method_name)
  transforms << method_name
end

#transformsObject



7
8
9
# File 'lib/easy_ml/transforms.rb', line 7

def transforms
  @transforms ||= []
end