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

0- or 1- based indexing #3

Closed
michael-camilleri opened this issue Mar 23, 2022 · 2 comments
Closed

0- or 1- based indexing #3

michael-camilleri opened this issue Mar 23, 2022 · 2 comments

Comments

@michael-camilleri
Copy link

Just checking

The labels for the classifier, are they 1- or 0-based indexed? i.e. is the smallest label 0 or 1? the reason I am asking is that the associated label file seems to start from 1, but when I did the same for my classes, it gave me indexing errors and I had to do everything starting from 0.

@gorjanradevski
Copy link
Owner

Hi Michael, the labels are definitely 0 indexed. Can you point me to the file where you encountered that the labels start from 1, as that would be incorrect? :)

@michael-camilleri
Copy link
Author

Thanks

It is just that the data sample for Something else, does not seem to have a 0-indexed label, but I could be missing something.

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