Class: EasyML::Core::Model

Inherits:
Object
  • Object
show all
Includes:
ModelCore, GlueGun::DSL
Defined in:
lib/easy_ml/core/model.rb

Direct Known Subclasses

EasyML::Core::Models::XGBoost

Instance Attribute Summary

Attributes included from ModelCore

#dataset

Instance Method Summary collapse

Methods included from ModelCore

#allowed_metrics, #cleanup, #cleanup!, #decode_labels, #evaluate, #fit, #fit?, #get_params, included, #load, #predict, #save, #save_model_file

Constructor Details

#initialize(options = {}) ⇒ Model

Returns a new instance of Model.



24
25
26
27
# File 'lib/easy_ml/core/model.rb', line 24

def initialize(options = {})
  super
  apply_defaults
end