ModuleNotFoundError: No module named 'sklearn.cross_validation'

Currently using Python 3.7. I understand that cross validation has been deprecated and have tried all the other suggestions including 'from sklearn.model_selection import train_test_split'. Still no luck... Please can someone provide assistance. Thank you in advance

Best Answer

  • @swhittley
    This forum is dedicated to Refinitiv Eikon Data APIs. Your question appears to be off topic here. Scikit-learn is a 3rd party Python library, which has its own dedicated resources: Scikit-learn Web site and Q&A on Stackoverflow.
    If your question is somehow related to Eikon Data APIs, could you please explain how it is related? Otherwise, if you need assistance with using scikit-learn package, I suggest you utilize the resources dedicated to it. Refinitiv moderators on this forum do not provide support for 3rd party software packages.