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

test time longer than training time in the performance graph #16

Open
prakhar2b opened this issue Mar 20, 2017 · 1 comment
Open

test time longer than training time in the performance graph #16

prakhar2b opened this issue Mar 20, 2017 · 1 comment

Comments

@prakhar2b
Copy link

prakhar2b commented Mar 20, 2017

@giacbrd @tmylk While running this document classification script, the performance graph generated shows training time to be lesser than test time.

But if we look closely, the training time is actually longer than test time for all the classifier. Here is the log

I think this is not the right way to convert the result into a range of (0,1) on the same axis

training_time = np.array(training_time) / np.max(training_time)
test_time = np.array(test_time) / np.max(test_time)

@giacbrd
Copy link
Owner

giacbrd commented Mar 21, 2017

Hi,
yes that way of plotting times is not so nice.
Test times are NOT comparable to training times, the bars are plotted independently and relatively to the two types of times.

The code is exactly as in http://scikit-learn.org/stable/auto_examples/text/document_classification_20newsgroups.html , but I may fix it for ShallowLearn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants