Class: TrainingPoint
- Inherits:
-
Struct
- Object
- Struct
- TrainingPoint
- Defined in:
- lib/phisher/knn.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#label ⇒ Object
Returns the value of attribute label.
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
121 122 123 |
# File 'lib/phisher/knn.rb', line 121 def data @data end |
#label ⇒ Object
Returns the value of attribute label
121 122 123 |
# File 'lib/phisher/knn.rb', line 121 def label @label end |