Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes import references for run_all_classifiers #155

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from
4 changes: 2 additions & 2 deletions labs/scripts/run_all_classifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def run_all_classifiers(dataset):
fig, axis = dataset.add_line(fig, axis, params_perc, "Perceptron", "blue")

print("MaxEnt LBFGS")
me = mec_batch.MaxEnt_batch()
me = mec_batch.MaxEntBatch()
params_me = me.train(dataset.train_X, dataset.train_y)
print(params_me.reshape(-1))
predict = me.test(dataset.train_X, params_me)
Expand All @@ -50,7 +50,7 @@ def run_all_classifiers(dataset):
fig, axis = dataset.add_line(fig, axis, params_me, "ME-LBFGS", "green")

print("MaxEnt Online")
me_online = mec_online.MaxEnt_online()
me_online = mec_online.MaxEntOnline()
params_me = me_online.train(dataset.train_X, dataset.train_y)
print(params_me.reshape(-1))
predict = me_online.test(dataset.train_X, params_me)
Expand Down