edu.cmu.ml.rtw.pra.models

SVMModel

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

Linear Supertypes
BatchModel[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SVMModel
  2. BatchModel
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val allowedParams: Seq[String]

  7. var alphabet: Alphabet

  8. final def asInstanceOf[T0]: T0

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

    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
  10. def classifyMatrixRow(row: MatrixRow): Double

    Compute score for matrix row according to learned parameters and support vectors which are stored in the svmClassifier

    Compute score for matrix row according to learned parameters and support vectors which are stored in the svmClassifier

    Definition Classes
    SVMModelBatchModel
  11. def clone(): AnyRef

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

    Definition Classes
    BatchModel
  13. def createKernel(): CustomKernel

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. implicit val formats: DefaultFormats.type

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

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

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

    Definition Classes
    Any
  21. val kernel: CustomKernel

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

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

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. var svmClassifier: SVMClassifier

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

    Definition Classes
    AnyRef
  28. def toString(): String

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

    Given a feature matrix and a list of sources and targets that determines whether an instances is positive or negative, train an SVM.

    Given a feature matrix and a list of sources and targets that determines whether an instances is positive or negative, train an SVM.

    Definition Classes
    SVMModelBatchModel
  30. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from BatchModel[T]

Inherited from AnyRef

Inherited from Any

Ungrouped