lib/datasets/iris.rb in red-datasets-0.0.6 vs lib/datasets/iris.rb in red-datasets-0.0.7
- old
+ new
@@ -6,10 +6,10 @@
class Iris < Dataset
Record = Struct.new(:sepal_length,
:sepal_width,
:petal_length,
:petal_width,
- :class)
+ :label)
def initialize
super()
@metadata.id = "iris"
@metadata.name = "Iris"