Are there any example data sets for Python?

前端 未结 6 2208
伪装坚强ぢ
伪装坚强ぢ 2020-12-23 10:00

For quick testing, debugging, creating portable examples, and benchmarking, R has available to it a large number of data sets (in the Base R datasets package).

6条回答
  •  萌比男神i
    2020-12-23 10:39

    There are also datasets available from the Scikit-Learn library.

    from sklearn import datasets
    

    There are multiple datasets within this package. Some of the Toy Datasets are:

    load_boston()          Load and return the boston house-prices dataset (regression).
    load_iris()            Load and return the iris dataset (classification).
    load_diabetes()        Load and return the diabetes dataset (regression).
    load_digits([n_class]) Load and return the digits dataset (classification).
    load_linnerud()        Load and return the linnerud dataset (multivariate regression).
    

提交回复
热议问题