Packages

o

apps.analytics

PokerBayes

object PokerBayes extends App

The PokerBayes object is a sample application that uses the NaiveBayes and AugNaiveBayes classes. Classify a poker hand consisting of 5 cards. The hand is to be classified as one of the following types of hands:

0: Nothing in hand; not a recognized poker hand 1: One pair; one pair of equal ranks within five cards 2: Two pairs; two pairs of equal ranks within five cards 3: Three of a kind; three equal ranks within five cards 4: Straight; five cards, sequentially ranked with no gaps 5: Flush; five cards with the same suit 6: Full house; pair + different rank three of a kind 7: Four of a kind; four equal ranks within five cards 8: Straight flush; straight + flush 9: Royal flush; {Ace, King, Queen, Jack, Ten} + flush

See also

archive.ics.uci.edu/ml/datasets/Poker+Hand > runMain apps.analytics.PokerBayes

archive.ics.uci.edu/ml/machine-learning-databases/poker/poker-hand.names

Linear Supertypes
App, DelayedInit, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PokerBayes
  2. App
  3. DelayedInit
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. val COLS: Int
  2. val ROWS: Int
  3. val cn: Array[String]
  4. val executionStart: Long
    Definition Classes
    App
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  5. val fn: Array[String]
  6. val fname: String
  7. var i: Int
  8. val k: Int
  9. def main(args: Array[String]): Unit
    Definition Classes
    App
    Annotations
    @deprecatedOverriding( "main should not be overridden" , "2.11.0" )
  10. val nb: NaiveBayes
  11. val tnb: TANBayes
  12. val vc: Array[Int]
  13. val xy: MatrixI
  14. val z: VectorI

Deprecated Value Members

  1. def delayedInit(body: ⇒ Unit): Unit
    Definition Classes
    App → DelayedInit
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) the delayedInit mechanism will disappear