Class: Datasets::Iris::Record
- Inherits:
-
Struct
- Object
- Struct
- Datasets::Iris::Record
- Defined in:
- lib/datasets/iris.rb
Instance Attribute Summary collapse
-
#label ⇒ Object
Returns the value of attribute label.
-
#petal_length ⇒ Object
Returns the value of attribute petal_length.
-
#petal_width ⇒ Object
Returns the value of attribute petal_width.
-
#sepal_length ⇒ Object
Returns the value of attribute sepal_length.
-
#sepal_width ⇒ Object
Returns the value of attribute sepal_width.
Instance Attribute Details
#label ⇒ Object
Returns the value of attribute label
7 8 9 |
# File 'lib/datasets/iris.rb', line 7 def label @label end |
#petal_length ⇒ Object
Returns the value of attribute petal_length
7 8 9 |
# File 'lib/datasets/iris.rb', line 7 def petal_length @petal_length end |
#petal_width ⇒ Object
Returns the value of attribute petal_width
7 8 9 |
# File 'lib/datasets/iris.rb', line 7 def petal_width @petal_width end |
#sepal_length ⇒ Object
Returns the value of attribute sepal_length
7 8 9 |
# File 'lib/datasets/iris.rb', line 7 def sepal_length @sepal_length end |
#sepal_width ⇒ Object
Returns the value of attribute sepal_width
7 8 9 |
# File 'lib/datasets/iris.rb', line 7 def sepal_width @sepal_width end |