Packages

package par

The par package contains classes, traits and objects for analytics including classification, clustering and prediction with parallel implementations.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. par
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class BayesClassifier extends ClassifierInt with BayesMetrics

    The BayesClassifier object provides factory methods for building Bayesian classifiers.

    The BayesClassifier object provides factory methods for building Bayesian classifiers. The following types of classifiers are currently supported: NaiveBayes - Naive Bayes classifier SelNaiveBayes - Selective Naive Bayes classifier AugNaiveBayes - Augmented Naive Bayes classifier AugSelNaiveBayes - Augmented Selective Naive Bayes classifier TANBayes - Tree Augmented Naive Bayes classifier SelTAN - Selective Tree Augmented Naive Bayes classifier BayesNetwork2 - Ordering-based Bayesian Network with k = 2

  2. class BayesNetwork2 extends ClassifierInt with BayesMetrics

    The BayesNetwork2 class implements an Integer-Based Bayesian Network Classifier, which is a commonly used such classifier for discrete input data.

    The BayesNetwork2 class implements an Integer-Based Bayesian Network Classifier, which is a commonly used such classifier for discrete input data. Each node is limited to have at most 2 parents, and hence the "2" in the class name BayesNetwork2. The classifier is trained using a data matrix 'x' and a classification vector 'y'. Each data vector in the matrix is classified into one of 'k' classes numbered 0, ..., k-1. Prior probabilities are calculated based on the population of each class in the training-set. Relative posterior probabilities are computed by multiplying these by values computed using conditional probabilities. The classifier supports limited dependency between features/variables. ------------------------------------------------------------------------------

  3. class DAG extends AnyRef

    The 'DAG' class provides a data structure for storing directed acyclic graphs.

  4. class NaiveBayes extends BayesClassifier

    The NaiveBayes class implements an Integer-Based Naive Bayes Classifier, which is a commonly used such classifier for discrete input data.

    The NaiveBayes class implements an Integer-Based Naive Bayes Classifier, which is a commonly used such classifier for discrete input data. The classifier is trained using a data matrix 'x' and a classification vector 'y'. Each data vector in the matrix is classified into one of 'k' classes numbered 0, ..., k-1. Prior probabilities are calculated based on the population of each class in the training-set. Relative posterior probabilities are computed by multiplying these by values computed using conditional probabilities. The classifier is naive, because it assumes feature independence and therefore simply multiplies the conditional probabilities. -----------------------------------------------------------------------------

  5. class SelNaiveBayes extends BayesClassifier

    The SelNaiveBayes class implements an Integer-Based Naive Bayes Classifier, which is a commonly used such classifier for discrete input data.

    The SelNaiveBayes class implements an Integer-Based Naive Bayes Classifier, which is a commonly used such classifier for discrete input data. The classifier is trained using a data matrix 'x' and a classification vector 'y'. Each data vector in the matrix is classified into one of 'k' classes numbered 0, ..., k-1. Prior probabilities are calculated based on the population of each class in the training-set. Relative posterior probabilities are computed by multiplying these by values computed using conditional probabilities. The classifier is naive, because it assumes feature independence and therefore simply multiplies the conditional probabilities. The version is "selective", since features whose impact is small are ignored. ----------------------------------------------------------------------------

  6. class TANBayes extends BayesClassifier

    The TANBayes class implements an Integer-Based Tree Augmented Naive Bayes Classifier, which is a commonly used such classifier for discrete input data.

    The TANBayes class implements an Integer-Based Tree Augmented Naive Bayes Classifier, which is a commonly used such classifier for discrete input data. The classifier is trained using a data matrix 'x' and a classification vector 'y'. Each data vector in the matrix is classified into one of 'k' classes numbered 0, ..., k-1. Prior probabilities are calculated based on the population of each class in the training-set. Relative posterior probabilities are computed by multiplying these by values computed using conditional probabilities. The classifier supports limited dependency between features/variables. -----------------------------------------------------------------------------

Value Members

  1. val BASE_DIR: String

    The relative path for base directory

  2. object BayesClassifier

    The BayesClassifier object provides factory methods for building Bayes classifiers.

  3. object BayesClassifierTest extends App

    The BayesClassifierTest object is used to test the BayesClassifier class.

    The BayesClassifierTest object is used to test the BayesClassifier class. Classify whether a car is more likely to be stolen (1) or not (1).

    See also

    www.inf.u-szeged.hu/~ormandi/ai2/06-naiveBayes-example.pdf > run-main scalation.analytics.classifier.par.BayesClassifierTest

  4. object BayesClassifierTest10 extends App

    The BayesClassifierTest10 object is used to test the BayesClassifier class.

    The BayesClassifierTest10 object is used to test the BayesClassifier class. > run-main scalation.analytics.classifier.par.BayesClassifierTest10

  5. object BayesClassifierTest11 extends App

    The BayesClassifierTest11 object is used to test the BayesClassifier class.

    The BayesClassifierTest11 object is used to test the BayesClassifier class. > run-main scalation.analytics.classifier.par.BayesClassifierTest11

  6. object BayesClassifierTest2 extends App

    The BayesClassifierTest2 object is used to test the BayesClassifier class.

    The BayesClassifierTest2 object is used to test the BayesClassifier class. > run-main scalation.analytics.classifier.par.BayesClassifierTest2

  7. object BayesClassifierTest3 extends App

    The BayesClassifierTest3 object is used to test the BayesClassifier class.

    The BayesClassifierTest3 object is used to test the BayesClassifier class. > run-main scalation.analytics.classifier.par.BayesClassifierTest3

  8. object BayesClassifierTest4 extends App

    The BayesClassifierTest4 object is used to test the BayesClassifier class.

    The BayesClassifierTest4 object is used to test the BayesClassifier class. > run-main scalation.analytics.classifier.par.BayesClassifierTest4

  9. object BayesClassifierTest5 extends App

    The BayesClassifierTest5 object is used to test the BayesClassifier class.

    The BayesClassifierTest5 object is used to test the BayesClassifier class. > run-main scalation.analytics.classifier.par.BayesClassifierTest5

  10. object BayesClassifierTest6 extends App

    The BayesClassifierTest6 object is used to test the BayesClassifier class.

    The BayesClassifierTest6 object is used to test the BayesClassifier class. > run-main scalation.analytics.classifier.par.BayesClassifierTest6

  11. object BayesClassifierTest7 extends App

    The BayesClassifierTest7 object is used to test the BayesClassifier class.

    The BayesClassifierTest7 object is used to test the BayesClassifier class. > run-main scalation.analytics.classifier.par.BayesClassifierTest7

  12. object BayesClassifierTest8 extends App

    The BayesClassifierTest8 object is used to test the BayesClassifier class.

    The BayesClassifierTest8 object is used to test the BayesClassifier class. > run-main scalation.analytics.classifier.par.BayesClassifierTest8

  13. object BayesClassifierTest9 extends App

    The BayesClassifierTest9 object is used to test the BayesClassifier class.

    The BayesClassifierTest9 object is used to test the BayesClassifier class. > run-main scalation.analytics.classifier.par.BayesClassifierTest9

  14. object BayesNetwork2

    The BayesNetwork2 object is the companion object for the BayesNetwork2 class.

  15. object BayesNetwork2Test extends App

    The BayesNetwork2Test object is used to test the BayesNetwork2 class.

    The BayesNetwork2Test object is used to test the BayesNetwork2 class. Classify whether a car is more likely to be stolen (1) or not (1).

    See also

    www.inf.u-szeged.hu/~ormandi/ai2/06-BayesNetwork2-example.pdf > run-main scalation.analytics.classifier.par.BayesNetwork2Test

  16. object BayesNetwork2Test2 extends App

    The BayesNetwork2Test2 object is used to test the BayesNetwork2 class.

    The BayesNetwork2Test2 object is used to test the BayesNetwork2 class. Given whether a person is Fast and/or Strong, classify them as making C = 1 or not making C = 0 the football team. > run-main scalation.analytics.classifier.par.BayesNetwork2Test2

  17. object BayesNetwork2Test3 extends App

    The BayesNetwork2Test3 object is used to test the BayesNetwork2 class.

    The BayesNetwork2Test3 object is used to test the BayesNetwork2 class. > run-main scalation.analytics.classifier.par.BayesNetwork2Test3

  18. object NaiveBayes

    The NaiveBayes object is the companion object for the NaiveBayes class.

  19. object NaiveBayesTest extends App

    The NaiveBayesTest object is used to test the NaiveBayes class.

    The NaiveBayesTest object is used to test the NaiveBayes class. Classify whether a car is more likely to be stolen (1) or not (1).

    See also

    www.inf.u-szeged.hu/~ormandi/ai2/06-naiveBayes-example.pdf > run-main scalation.analytics.classifier.par.NaiveBayesTest

  20. object NaiveBayesTest2 extends App

    The NaiveBayesTest2 object is used to test the NaiveBayes class.

    The NaiveBayesTest2 object is used to test the NaiveBayes class. Given whether a person is Fast and/or Strong, classify them as making C = 1 or not making C = 0 the football team. > run-main scalation.analytics.classifier.par.NaiveBayesTest2

  21. object NaiveBayesTest3 extends App

    The NaiveBayesTest3 object is used to test the NaiveBayes class.

    The NaiveBayesTest3 object is used to test the NaiveBayes class. > run-main scalation.analytics.classifier.par.NaiveBayesTest3

  22. object SelNaiveBayes

    SelNaiveBayes is the companion object for the SelNaiveBayes class.

  23. object SelNaiveBayesTest extends App

    The SelNaiveBayesTest object is used to test the SelNaiveBayes class.

    The SelNaiveBayesTest object is used to test the SelNaiveBayes class. Classify whether a car is more likely to be stolen (1) or not (1).

    See also

    www.inf.u-szeged.hu/~ormandi/ai2/06-naiveBayes-example.pdf > run-main scalation.analytics.classifier.par.SelNaiveBayesTest

  24. object SelNaiveBayesTest2 extends App

    The SelNaiveBayesTest2 object is used to test the SelNaiveBayes class.

    The SelNaiveBayesTest2 object is used to test the SelNaiveBayes class. Given whether a person is Fast and/or Strong, classify them as making C = 1 or not making C = 0 the football team. > run-main scalation.analytics.classifier.par.SelNaiveBayesTest2

  25. object SelNaiveBayesTest3 extends App

    The SelNaiveBayesTest3 object is used to test the SelNaiveBayes class.

    The SelNaiveBayesTest3 object is used to test the SelNaiveBayes class. > run-main scalation.analytics.classifier.par.SelNaiveBayesTest3

  26. object TANBayes

    The TANBayes object is the companion object for the TANBayes class.

  27. object TANBayesTest extends App

    The TANBayesTest object is used to test the TANBayes class.

    The TANBayesTest object is used to test the TANBayes class. Classify whether a car is more likely to be stolen (1) or not (1).

    See also

    www.inf.u-szeged.hu/~ormandi/ai2/06-AugNaiveBayes-example.pdf > run-main scalation.analytics.classifier.par.TANBayesTest

  28. object TANBayesTest2 extends App

    The TANBayesTest2 object is used to test the TANBayes class.

    The TANBayesTest2 object is used to test the TANBayes class. Given whether a person is Fast and/or Strong, classify them as making C = 1 or not making C = 0 the football team. > run-main scalation.analytics.classifier.par.TANBayesTest2

  29. object TANBayesTest3 extends App

    The TANBayesTest3 object is used to test the TANBayes class.

    The TANBayesTest3 object is used to test the TANBayes class. > run-main scalation.analytics.classifier.par.TANBayesTest3

Inherited from AnyRef

Inherited from Any

Ungrouped