Class: Nimbus::TrainingSet

Inherits:
Object
  • Object
show all
Defined in:
lib/nimbus/training_set.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (TrainingSet) initialize(individuals, ids_fenotypes)

Returns a new instance of TrainingSet



6
7
8
9
# File 'lib/nimbus/training_set.rb', line 6

def initialize(individuals, ids_fenotypes)
  @individuals   = individuals
  @ids_fenotypes = ids_fenotypes
end

Instance Attribute Details

- (Object) ids_fenotypes

Returns the value of attribute ids_fenotypes



4
5
6
# File 'lib/nimbus/training_set.rb', line 4

def ids_fenotypes
  @ids_fenotypes
end

- (Object) individuals

Returns the value of attribute individuals



4
5
6
# File 'lib/nimbus/training_set.rb', line 4

def individuals
  @individuals
end