renamed train -> fit
train(x,y,opts) is now fit(x,y,opts)