Skip to content

Commit

Permalink
Renamed ModelHelper to Test.ModelHelper
Browse files Browse the repository at this point in the history
  • Loading branch information
fredwu committed Aug 5, 2016
1 parent 3f2c84f commit 4b4a6a0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/simple_bayes/model/bernoulli_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule SimpleBayes.BernoulliTest do
use ExUnit.Case, async: true

alias SimpleBayes.ModelHelper
alias SimpleBayes.Test.ModelHelper

describe "Bernoulli" do
# http://nlp.stanford.edu/IR-book/html/htmledition/naive-bayes-text-classification-1.html
Expand Down
2 changes: 1 addition & 1 deletion test/simple_bayes/model/binarized_multinomial_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule SimpleBayes.BinarizedMultinomialTest do
use ExUnit.Case, async: true

alias SimpleBayes.ModelHelper
alias SimpleBayes.Test.ModelHelper

describe "Binarized multinomial" do
test "binary word counting" do
Expand Down
2 changes: 1 addition & 1 deletion test/simple_bayes/model/helper_test.exs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
defmodule SimpleBayes.ModelHelper do
defmodule SimpleBayes.Test.ModelHelper do
def train_list(sbayes, cat, [head | tail]) do
sbayes = SimpleBayes.train(sbayes, cat, head)
train_list(sbayes, cat, tail)
Expand Down
2 changes: 1 addition & 1 deletion test/simple_bayes/model/multinomial_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule SimpleBayes.MultinomialTest do
use ExUnit.Case, async: true

alias SimpleBayes.ModelHelper
alias SimpleBayes.Test.ModelHelper

describe "multinomial" do
test "stop words" do
Expand Down

0 comments on commit 4b4a6a0

Please sign in to comment.