Class/Object

io.github.timsetsfire.datarobot

Feature

Related Docs: object Feature | package datarobot

Permalink

case class Feature(id: Option[String], name: Option[String], projectId: Option[String], featureType: Option[String], importance: Option[Double], lowInformation: Option[Boolean], uniqueCount: Option[Int], naCount: Option[Int], dateFormat: Option[String], timeSeriesEligible: Option[Boolean], timeSeriesEligibilityReason: Option[String], timeUnit: Option[String], timeStep: Option[Int], min: Option[Double], max: Option[Double], mean: Option[Double], median: Option[Double], stdDev: Option[Double], targetLeakage: Option[String]) extends Product with Serializable

Feature

id

(int) – the feature ID. (Note: Throughout the API, features are specified using their names, not this ID.)

name

(string) – feature name

projectId

(string) – the ID of the project the feature belongs to

featureType

(string) – feature type: ‘Numeric’, ‘Categorical’, etc.

importance

(float) – numeric measure of the strength of relationship between the feature and target (independent of any model or other features)

lowInformation

(bool) – whether feature has too few values to be informative

uniqueCount

(int) – number of unique values

naCount

(int) – number of missing values

dateFormat

(string)–(Newinversionv2.5)thedateformatstringforhowthisfeature was interpreted (or null if not a date feature). If not null, it will be compatible with https: //docs.python.org/2/library/time.html#time.strftime .

timeSeriesEligible

(bool) – (New in version v2.8) whether this feature can be used as a datetime partitioning feature for time series projects. Only sufficiently regular date features can be selected as the datetime feature for time series projects. Always false for non-date features. Date features that cannot be used in datetime partitioning for a time series project may be eligible for an OTV project, which has less stringent requirements.

timeSeriesEligibilityReason

(string)–(Newinversionv2.8)whythefeature is ineligible for time series projects, or “suitable” if it is eligible.

timeUnit

(string) – (New in version v2.8) the unit for the interval between values of this feature, e.g. DAY, MONTH, HOUR. When specifying windows for time series projects, the windows are expressed in terms of this unit. Only present for date features eligible for time series projects, and null otherwise.

timeStep

(int) – (New in version v2.8) The minimum time step that can be used to specify time series windows. The units for this value are the timeUnit. When specifying windows for time series projects, all windows must have durations that are integer multiples of this number. Only present for date features that are eligible for time series projects and null otherwise.

min

– minimum value of the EDA sample of the feature.

max

– maximum value of the EDA sample of the feature.

mean

– arithmetic mean of the EDA sample of the feature.

median

– median of the EDA sample of the feature.

stdDev

– standard deviation of EDA sample of the feature.

targetLeakage

(int) – whether or not the feature has target leakage. ‘SKIPPED_DETECTION’ indicates leakage detection was not run on the feature, ‘FALSE’ indicates no leakage, ‘MODERATE_RISK’ indicates a moderate risk of target leakage, and ‘HIGH_RISK’ indicates a high risk of target leakage

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Feature
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Feature(id: Option[String], name: Option[String], projectId: Option[String], featureType: Option[String], importance: Option[Double], lowInformation: Option[Boolean], uniqueCount: Option[Int], naCount: Option[Int], dateFormat: Option[String], timeSeriesEligible: Option[Boolean], timeSeriesEligibilityReason: Option[String], timeUnit: Option[String], timeStep: Option[Int], min: Option[Double], max: Option[Double], mean: Option[Double], median: Option[Double], stdDev: Option[Double], targetLeakage: Option[String])

    Permalink

    id

    (int) – the feature ID. (Note: Throughout the API, features are specified using their names, not this ID.)

    name

    (string) – feature name

    projectId

    (string) – the ID of the project the feature belongs to

    featureType

    (string) – feature type: ‘Numeric’, ‘Categorical’, etc.

    importance

    (float) – numeric measure of the strength of relationship between the feature and target (independent of any model or other features)

    lowInformation

    (bool) – whether feature has too few values to be informative

    uniqueCount

    (int) – number of unique values

    naCount

    (int) – number of missing values

    dateFormat

    (string)–(Newinversionv2.5)thedateformatstringforhowthisfeature was interpreted (or null if not a date feature). If not null, it will be compatible with https: //docs.python.org/2/library/time.html#time.strftime .

    timeSeriesEligible

    (bool) – (New in version v2.8) whether this feature can be used as a datetime partitioning feature for time series projects. Only sufficiently regular date features can be selected as the datetime feature for time series projects. Always false for non-date features. Date features that cannot be used in datetime partitioning for a time series project may be eligible for an OTV project, which has less stringent requirements.

    timeSeriesEligibilityReason

    (string)–(Newinversionv2.8)whythefeature is ineligible for time series projects, or “suitable” if it is eligible.

    timeUnit

    (string) – (New in version v2.8) the unit for the interval between values of this feature, e.g. DAY, MONTH, HOUR. When specifying windows for time series projects, the windows are expressed in terms of this unit. Only present for date features eligible for time series projects, and null otherwise.

    timeStep

    (int) – (New in version v2.8) The minimum time step that can be used to specify time series windows. The units for this value are the timeUnit. When specifying windows for time series projects, all windows must have durations that are integer multiples of this number. Only present for date features that are eligible for time series projects and null otherwise.

    min

    – minimum value of the EDA sample of the feature.

    max

    – maximum value of the EDA sample of the feature.

    mean

    – arithmetic mean of the EDA sample of the feature.

    median

    – median of the EDA sample of the feature.

    stdDev

    – standard deviation of EDA sample of the feature.

    targetLeakage

    (int) – whether or not the feature has target leakage. ‘SKIPPED_DETECTION’ indicates leakage detection was not run on the feature, ‘FALSE’ indicates no leakage, ‘MODERATE_RISK’ indicates a moderate risk of target leakage, and ‘HIGH_RISK’ indicates a high risk of target leakage

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. val dateFormat: Option[String]

    Permalink

    (string)–(Newinversionv2.5)thedateformatstringforhowthisfeature was interpreted (or null if not a date feature).

    (string)–(Newinversionv2.5)thedateformatstringforhowthisfeature was interpreted (or null if not a date feature). If not null, it will be compatible with https: //docs.python.org/2/library/time.html#time.strftime .

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. val featureType: Option[String]

    Permalink

    (string) – feature type: ‘Numeric’, ‘Categorical’, etc.

  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  10. def getFeatureHistogram()(implicit client: DataRobotClient): JValue

    Permalink
  11. def getMetrics()(implicit client: DataRobotClient): Map[String, Any]

    Permalink
  12. val id: Option[String]

    Permalink

    (int) – the feature ID.

    (int) – the feature ID. (Note: Throughout the API, features are specified using their names, not this ID.)

  13. val importance: Option[Double]

    Permalink

    (float) – numeric measure of the strength of relationship between the feature and target (independent of any model or other features)

  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. val lowInformation: Option[Boolean]

    Permalink

    (bool) – whether feature has too few values to be informative

  16. val max: Option[Double]

    Permalink

    – maximum value of the EDA sample of the feature.

  17. val mean: Option[Double]

    Permalink

    – arithmetic mean of the EDA sample of the feature.

  18. val median: Option[Double]

    Permalink

    – median of the EDA sample of the feature.

  19. val min: Option[Double]

    Permalink

    – minimum value of the EDA sample of the feature.

  20. val naCount: Option[Int]

    Permalink

    (int) – number of missing values

  21. val name: Option[String]

    Permalink

    (string) – feature name

  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  25. val projectId: Option[String]

    Permalink

    (string) – the ID of the project the feature belongs to

  26. val stdDev: Option[Double]

    Permalink

    – standard deviation of EDA sample of the feature.

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. val targetLeakage: Option[String]

    Permalink

    (int) – whether or not the feature has target leakage.

    (int) – whether or not the feature has target leakage. ‘SKIPPED_DETECTION’ indicates leakage detection was not run on the feature, ‘FALSE’ indicates no leakage, ‘MODERATE_RISK’ indicates a moderate risk of target leakage, and ‘HIGH_RISK’ indicates a high risk of target leakage

  29. val timeSeriesEligibilityReason: Option[String]

    Permalink

    (string)–(Newinversionv2.8)whythefeature is ineligible for time series projects, or “suitable” if it is eligible.

  30. val timeSeriesEligible: Option[Boolean]

    Permalink

    (bool) – (New in version v2.8) whether this feature can be used as a datetime partitioning feature for time series projects.

    (bool) – (New in version v2.8) whether this feature can be used as a datetime partitioning feature for time series projects. Only sufficiently regular date features can be selected as the datetime feature for time series projects. Always false for non-date features. Date features that cannot be used in datetime partitioning for a time series project may be eligible for an OTV project, which has less stringent requirements.

  31. val timeStep: Option[Int]

    Permalink

    (int) – (New in version v2.8) The minimum time step that can be used to specify time series windows.

    (int) – (New in version v2.8) The minimum time step that can be used to specify time series windows. The units for this value are the timeUnit. When specifying windows for time series projects, all windows must have durations that are integer multiples of this number. Only present for date features that are eligible for time series projects and null otherwise.

  32. val timeUnit: Option[String]

    Permalink

    (string) – (New in version v2.8) the unit for the interval between values of this feature, e.g.

    (string) – (New in version v2.8) the unit for the interval between values of this feature, e.g. DAY, MONTH, HOUR. When specifying windows for time series projects, the windows are expressed in terms of this unit. Only present for date features eligible for time series projects, and null otherwise.

  33. def toString(): String

    Permalink
    Definition Classes
    Feature → AnyRef → Any
  34. val uniqueCount: Option[Int]

    Permalink

    (int) – number of unique values

  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped