Skip to main content


persistent class DataMining.IrisDataset extends %Library.Persistent

SQL Table Name: DataMining.IrisDataset

This class represents the Iris dataset, perhaps the best known database to be found in the pattern recognition literature.

The data set contains 3 classes of 50 instances each, where each class refers to a type of iris plant. One class is linearly separable from the other 2; the latter are NOT linearly separable from each other. Each record has 5 attributes:

  1. sepal length in cm
  2. sepal width in cm
  3. petal length in cm
  4. petal width in cm
  5. class (species):
    • Iris Setosa
    • Iris Versicolour
    • Iris Virginica

The dataset is taken from UCI Machine Learning Repository []. Irvine, CA: University of California, School of Information and Computer Science by Frank, A. & Asuncion, A. (2010).Opens in a new tab

Property Inventory

Method Inventory


property PetalLength as %Double;
Property methods: PetalLengthDisplayToLogical(), PetalLengthGet(), PetalLengthGetStored(), PetalLengthIsValid(), PetalLengthLogicalToDisplay(), PetalLengthNormalize(), PetalLengthOdbcToLogical(), PetalLengthSet()
property PetalWidth as %Double;
Property methods: PetalWidthDisplayToLogical(), PetalWidthGet(), PetalWidthGetStored(), PetalWidthIsValid(), PetalWidthLogicalToDisplay(), PetalWidthNormalize(), PetalWidthOdbcToLogical(), PetalWidthSet()
property SepalLength as %Double;
Property methods: SepalLengthDisplayToLogical(), SepalLengthGet(), SepalLengthGetStored(), SepalLengthIsValid(), SepalLengthLogicalToDisplay(), SepalLengthNormalize(), SepalLengthOdbcToLogical(), SepalLengthSet()
property SepalWidth as %Double;
Property methods: SepalWidthDisplayToLogical(), SepalWidthGet(), SepalWidthGetStored(), SepalWidthIsValid(), SepalWidthLogicalToDisplay(), SepalWidthNormalize(), SepalWidthOdbcToLogical(), SepalWidthSet()
property Species as %String;
Property methods: SpeciesDisplayToLogical(), SpeciesGet(), SpeciesGetStored(), SpeciesIsValid(), SpeciesLogicalToDisplay(), SpeciesLogicalToOdbc(), SpeciesNormalize(), SpeciesSet()


classmethod load() as %Status


index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods


Storage Model: CacheStorage (DataMining.IrisDataset)

FeedbackOpens in a new tab