├── .gitignore ├── LICENSE.txt ├── README.md ├── data ├── data.txt └── import_eventserver.py ├── engine.json ├── project ├── assembly.sbt └── build.properties ├── src └── main │ └── scala │ ├── CompleteEvaluation.scala │ ├── DataSource.scala │ ├── Engine.scala │ ├── Evaluation.scala │ ├── NaiveBayesAlgorithm.scala │ ├── PrecisionEvaluation.scala │ ├── Preparator.scala │ └── Serving.scala └── template.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/predictionio-template-attribute-based-classifier/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/predictionio-template-attribute-based-classifier/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/predictionio-template-attribute-based-classifier/HEAD/README.md -------------------------------------------------------------------------------- /data/data.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/predictionio-template-attribute-based-classifier/HEAD/data/data.txt -------------------------------------------------------------------------------- /data/import_eventserver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/predictionio-template-attribute-based-classifier/HEAD/data/import_eventserver.py -------------------------------------------------------------------------------- /engine.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/predictionio-template-attribute-based-classifier/HEAD/engine.json -------------------------------------------------------------------------------- /project/assembly.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/predictionio-template-attribute-based-classifier/HEAD/project/assembly.sbt -------------------------------------------------------------------------------- /project/build.properties: -------------------------------------------------------------------------------- 1 | sbt.version=1.2.8 2 | -------------------------------------------------------------------------------- /src/main/scala/CompleteEvaluation.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/predictionio-template-attribute-based-classifier/HEAD/src/main/scala/CompleteEvaluation.scala -------------------------------------------------------------------------------- /src/main/scala/DataSource.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/predictionio-template-attribute-based-classifier/HEAD/src/main/scala/DataSource.scala -------------------------------------------------------------------------------- /src/main/scala/Engine.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/predictionio-template-attribute-based-classifier/HEAD/src/main/scala/Engine.scala -------------------------------------------------------------------------------- /src/main/scala/Evaluation.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/predictionio-template-attribute-based-classifier/HEAD/src/main/scala/Evaluation.scala -------------------------------------------------------------------------------- /src/main/scala/NaiveBayesAlgorithm.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/predictionio-template-attribute-based-classifier/HEAD/src/main/scala/NaiveBayesAlgorithm.scala -------------------------------------------------------------------------------- /src/main/scala/PrecisionEvaluation.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/predictionio-template-attribute-based-classifier/HEAD/src/main/scala/PrecisionEvaluation.scala -------------------------------------------------------------------------------- /src/main/scala/Preparator.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/predictionio-template-attribute-based-classifier/HEAD/src/main/scala/Preparator.scala -------------------------------------------------------------------------------- /src/main/scala/Serving.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/predictionio-template-attribute-based-classifier/HEAD/src/main/scala/Serving.scala -------------------------------------------------------------------------------- /template.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/predictionio-template-attribute-based-classifier/HEAD/template.json --------------------------------------------------------------------------------