|
I computed both and got different results, The results was not very different though. I imaging it to be the same |
|
There should be no reason why the weights in both should be the same, in fact, the weights between two logistic regressions should not be exactly the same either (this depends a lot on the optimizer you use). If you optimize the LR exactly with the same training set and the same regularizations, you may get at least the same weight relationships, but not the same numbers. Also, if you are doing it right, you are doing crossover which means that you add additional randomness to the process and thus you should not expect exactly the same numbers. |
Did you initialize the weights to the same values? Did you use the same loss and penalty for both models?