Class/Object

edu.cmu.ml.rtw.pra.models

LogisticRegressionModel

Related Docs: object LogisticRegressionModel | package models

Permalink

class LogisticRegressionModel[T <: Instance] extends BatchModel[T]

Linear Supertypes
BatchModel[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LogisticRegressionModel
  2. BatchModel
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LogisticRegressionModel(params: JValue, outputter: Outputter)

    Permalink

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. val allowedParams: Seq[String]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def classifyInstances(featureMatrix: FeatureMatrix): Seq[(T, Double)]

    Permalink

    Give a score to every row in the feature matrix, according to the learned weights.

    Give a score to every row in the feature matrix, according to the learned weights.

    featureMatrix

    A feature matrix specified as a list of MatrixRow objects. Each row receives a score from the classifier.

    returns

    A map from source node to (target node, score) pairs, where the score is computed from the features in the feature matrix and the learned weights.

    Definition Classes
    BatchModel
  7. def classifyMatrixRow(row: MatrixRow): Double

    Permalink
    Definition Classes
    LogisticRegressionModelBatchModel
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def convertFeatureMatrixToMallet(featureMatrix: FeatureMatrix, dataset: Dataset[T], featureNames: Seq[String], data: InstanceList, alphabet: Alphabet): Unit

    Permalink
    Definition Classes
    BatchModel
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val l1Weight: Double

    Permalink
  17. val l2Weight: Double

    Permalink
  18. var lrWeights: Seq[Double]

    Permalink
  19. def matrixRowToInstance(row: MatrixRow, alphabet: Alphabet): Instance

    Permalink
    Definition Classes
    BatchModel
  20. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. def train(featureMatrix: FeatureMatrix, dataset: Dataset[T], featureNames: Seq[String]): Unit

    Permalink

    Given a feature matrix and a list of sources and targets that determines whether an instance is positive or negative, train a logistic regression classifier.

    Given a feature matrix and a list of sources and targets that determines whether an instance is positive or negative, train a logistic regression classifier.

    Definition Classes
    LogisticRegressionModelBatchModel
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

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

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

Inherited from BatchModel[T]

Inherited from AnyRef

Inherited from Any

Ungrouped