Packages

c

org.apache.spark.ml.feature

LabeledPoint

case class LabeledPoint(label: Double, features: Vector) extends Product with Serializable

Class that represents the features and label of a data point.

label

Label for this data point.

features

List of features for this data point.

Annotations
@Since( "2.0.0" )
Source
LabeledPoint.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LabeledPoint
  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 LabeledPoint(label: Double, features: Vector)

    label

    Label for this data point.

    features

    List of features for this data point.

Value Members

  1. val features: Vector
    Annotations
    @Since( "2.0.0" )
  2. def getFeatures: Vector
  3. def getLabel: Double
  4. val label: Double
    Annotations
    @Since( "2.0.0" )
  5. def toString(): String
    Definition Classes
    LabeledPoint → AnyRef → Any