-the one that called one-vs-all classification algorithm
classification with more than two groups

either starting from index 0 or 1 doesn't matter..

the defined algorithms earlier is to compute the binary by using logistic regression...
using one vs all algorithm for solving multiclass classification.