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 TANBayes - Tree Augmented Naive Bayes classifier TwoBAN_OS - Ordering-based Bayesian Network with k = 2

  2. class NaiveBayes extends NaiveBayes0

    The same classifier but uses an optimized cross-validation technique.

    The same classifier but uses an optimized cross-validation technique. -----------------------------------------------------------------------------

  3. class NaiveBayes0 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.

    This classifier uses the standard cross-validation technique. -----------------------------------------------------------------------------

  4. class TANBayes extends TANBayes0

    The same classifier but uses an optimized cross-validation technique.

    The same classifier but uses an optimized cross-validation technique. -----------------------------------------------------------------------------

  5. class TANBayes0 extends BayesClassifier

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

    The TANBayes0 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. ----------------------------------------------------------------------------- This classifier uses the standard cross-validation technique. -----------------------------------------------------------------------------

  6. class TwoBAN_OS extends TwoBAN_OS0

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

    The TwoBAN_OS 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 TwoBAN_OS. 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.

    This classifier uses the standard cross-validation technique. ------------------------------------------------------------------------------

  7. class TwoBAN_OS0 extends BayesClassifier

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

    The TwoBAN_OS0 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 TwoBAN_OS. 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. ------------------------------------------------------------------------------ This classifier uses the standard cross-validation technique. ------------------------------------------------------------------------------

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 > runMain 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. > runMain 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. > runMain 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. > runMain 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. > runMain 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. > runMain 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. > runMain 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. > runMain 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. > runMain 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. > runMain 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. > runMain scalation.analytics.classifier.par.BayesClassifierTest9

  14. object NaiveBayes

    NaiveBayes is the companion object for the NaiveBayes class.

  15. object NaiveBayes0

    NaiveBayes0 is the companion object for the NaiveBayes0 class.

  16. 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 > runMain scalation.analytics.classifier.par.NaiveBayesTest

  17. 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. > runMain scalation.analytics.classifier.par.NaiveBayesTest2

  18. object NaiveBayesTest3 extends App

    The NaiveBayesTest3 object is used to test the 'NaiveBayes' class.

    The NaiveBayesTest3 object is used to test the 'NaiveBayes' class. > runMain scalation.analytics.classifier.par.NaiveBayesTest3

  19. object TANBayes

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

  20. object TANBayes0

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

  21. 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 > runMain scalation.analytics.classifier.par.TANBayesTest

  22. 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. > runMain scalation.analytics.classifier.par.TANBayesTest2

  23. object TANBayesTest3 extends App

    The TANBayesTest3 object is used to test the TANBayes class.

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

  24. object TwoBAN_OS

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

  25. object TwoBAN_OS0

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

  26. object TwoBAN_OSTest extends App

    The TwoBAN_OSTest object is used to test the TwoBAN_OS class.

    The TwoBAN_OSTest object is used to test the TwoBAN_OS 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-TwoBAN_OS-example.pdf > runMain scalation.analytics.classifier.par.TwoBAN_OSTest

  27. object TwoBAN_OSTest2 extends App

    The TwoBAN_OSTest2 object is used to test the TwoBAN_OS class.

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

  28. object TwoBAN_OSTest3 extends App

    The TwoBAN_OSTest3 object is used to test the TwoBAN_OS class.

    The TwoBAN_OSTest3 object is used to test the TwoBAN_OS class. > runMain scalation.analytics.classifier.par.TwoBAN_OSTest3

Inherited from AnyRef

Inherited from Any

Ungrouped