machine learning - python sklearn model.predict getting same result -


i have 1095*2 train sample first column corresponding x , second column y (y has 1095 different values). , have 365*1 test sample. work on sklearn , try several models using model.fit(x,y), model.predict(test), getting merely same number 365 times. however, model works out (the result not same) naive-bayes gaussionnb(). can explain me why happening?


Comments