known_item_search_classifier 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/known_item_search_classifier/classifier.rb +0 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89a7295765e4fe6c6503152b733a79b46151e8bd
|
4
|
+
data.tar.gz: 4b541eaf18b0c8a8d74ad8f4525ad28888dcf652
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4166fa3994f73f19828b9c7c53ee6d8678cdd284cb39189b42abd03bfd69b0b2cd4849105406d7d0c5d49f85e2a9e631808ea3bee23a6374d15bb63735324740
|
7
|
+
data.tar.gz: 01d20e0df51bc086e5aeb6b9348cf2543bc1dbb892dbf246d13158e72a36024b6344c7ce52a4bee60a6d3537e262b6205ef2b8168deb95d0815dc4997c6be179
|
@@ -4,7 +4,6 @@ require 'gaussian_naive_bayes'
|
|
4
4
|
|
5
5
|
module KnownItemSearchClassifier
|
6
6
|
class Classifier
|
7
|
-
attr_accessor :custom_training_set
|
8
7
|
def initialize
|
9
8
|
set = DefaultTrainingSet.new
|
10
9
|
@default_training_set = GaussianNaiveBayes::Classifier.new set.categories_summaries, set.categories_probabilities
|