greenelab / GCB535

Materials for GCB535 at Penn.
BSD 3-Clause "New" or "Revised" License
20 stars 8 forks source link

Depreciated code: sklearn.cross_validation #231

Open bvoight opened 5 years ago

bvoight commented 5 years ago

sklearn.cross_validation

appears to be defunct, replaced with .model_selection

eg., cel 6 should be:

from sklearn.model_selection import train_test_split

cgreene commented 5 years ago

finally! 🎉

This was out of date last year ago but cocalc never updated their version, so we had to stick with the deprecated one.