RedditPostClassifierBot 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/RedditPostClassifierBot.rb +0 -1
- data/lib/RedditPostClassifierBot/version.rb +1 -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: a35f65e15b1a15627b1397fea3f41a2b008521e5
|
4
|
+
data.tar.gz: 6df1720ac5558aa52a3208241f2ca9068a54b8da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b53ba743aacec92fb3d8ab4808243a6a29787ac4b75f192a051341cc9d5973fdcb0c90a2b1b63bc0ee311fbce36d1ac0b68eecf02086638073fd323ab328ef12
|
7
|
+
data.tar.gz: 7de4dd9398e0ae0d7d05173f476205a8fbb66f26a1cef51463a89caef896a1ac8c0fc6df033c4593f68b740c5ec5b22d0b05881e51b2646701a0ea16a873285f
|
data/README.md
CHANGED
@@ -58,6 +58,8 @@ Further training customization can be done by instantiating `RedditTrainer` dire
|
|
58
58
|
|
59
59
|
```ruby
|
60
60
|
trainer = RedditPostClassifierBot::RedditTrainer.new trials, per_page, debug?
|
61
|
+
trainer.train
|
62
|
+
trainer.dump # saves state to a yml file
|
61
63
|
```
|
62
64
|
|
63
65
|
Arguments:
|
@@ -3,7 +3,6 @@ require "nbayes"
|
|
3
3
|
require "RedditPostClassifierBot/version"
|
4
4
|
require "RedditPostClassifierBot/nbayes_classifier"
|
5
5
|
require "RedditPostClassifierBot/reddit_trainer"
|
6
|
-
require "RedditPostClassifierBot/good_post_finder"
|
7
6
|
|
8
7
|
module RedditPostClassifierBot
|
9
8
|
def self.classifier
|