java.lang.Object
ai.djl.onnxruntime.zoo.tabular.softmax_regression.IrisFlower

public class IrisFlower extends Object
A class holds the iris flower features.
  • Constructor Details

    • IrisFlower

      public IrisFlower(float sepalLength, float sepalWidth, float petalLength, float petalWidth)
      Constructs a new IrisFlower instance.
      Parameters:
      sepalLength - the sepal length
      sepalWidth - the sepal width
      petalLength - the petal length
      petalWidth - the petal width
  • Method Details

    • getSepalLength

      public float getSepalLength()
      Returns the sepal length.
      Returns:
      the sepal length
    • getSepalWidth

      public float getSepalWidth()
      Returns the sepal width.
      Returns:
      the sepal width
    • getPetalLength

      public float getPetalLength()
      Returns the petal length.
      Returns:
      the petal length
    • getPetalWidth

      public float getPetalWidth()
      Returns the petal width.
      Returns:
      the petal width