目录
当前位置: 首页 > 文档资料 > Edward 中文文档 >

observations.iris

优质
小牛编辑
127浏览
2023-12-01
iris(path)

Load the Iris Plants data set (Fisher, 1936). It contains 150 examples of iris plants, each with 4 real-valued attributes and its class.

Args:

  • path: str. Path to directory which either stores file or otherwise file will be downloaded and extracted there. Filename is iris.data.

Returns:

Tuple of np.darray x_train, np.ndarray y_train, and dictionary metadata of column headers (feature names).

Fisher, R. A. (1936). The use of multiple measurements in taxonomic problems. Annals of Human Genetics, 7(2), 179–188.