Skip to content

Commit

Permalink
Same hyper-parameters as original script
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdalpino committed Mar 31, 2023
1 parent d510b75 commit 1bcb7f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ use Rubix\ML\Persisters\Filesystem;
$estimator = new PersistentModel(
new Pipeline([
new TextNormalizer(),
new WordCountVectorizer(10000, 0.00008, 0.4, new NGram(1, 2)),
new WordCountVectorizer(10000, 2, 0.4, new NGram(1, 2)),
new TfIdfTransformer(),
new ZScaleStandardizer(),
], new MultilayerPerceptron([
Expand Down
2 changes: 1 addition & 1 deletion train.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
$estimator = new PersistentModel(
new Pipeline([
new TextNormalizer(),
new WordCountVectorizer(10000, 5, 0.4, new NGram(1, 2)),
new WordCountVectorizer(10000, 2, 0.4, new NGram(1, 2)),
new TfIdfTransformer(),
new ZScaleStandardizer(),
], new MultilayerPerceptron([
Expand Down

0 comments on commit 1bcb7f8

Please sign in to comment.