RedditPostClassifierBot 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 647bcb069e655189eccf082375f55290a6540f02
4
- data.tar.gz: 5c635dcbe95002f31d47a76ecc3ef9b86feac06a
3
+ metadata.gz: a35f65e15b1a15627b1397fea3f41a2b008521e5
4
+ data.tar.gz: 6df1720ac5558aa52a3208241f2ca9068a54b8da
5
5
  SHA512:
6
- metadata.gz: 39d3cc771c573738bab103e72260588fe52682ca4830eb77e001c6f224b20b6efd4c4c507ca698a42ce0e8775c4ee34e169f20d86c46762a48db0df5493d8ab9
7
- data.tar.gz: c2ef74b74934a8626db598fe966e25313143b445c4833c9f63712ba262fddb6ddefa552b555fa33180da770ffd0b520bb5bab3659a0033bdbafcb120aa62b2b9
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
@@ -1,3 +1,3 @@
1
1
  module RedditPostClassifierBot
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: RedditPostClassifierBot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Diego Salazar