#
# µû¶óÇÏ¸ç ¹è¿ì´Â ÆÄÀ̽ã°ú µ¥ÀÌÅÍ°úÇÐ(»ý´ÉÃâÆÇ»ç 2020)
# 14.17 k-NN ¾Ë°í¸®ÁòÀ» Àû¿ëÇÒ µ¥ÀÌÅ͸¦ »ìÆ캸ÀÚ, 387ÂÊ
#
from sklearn.datasets import load_iris
iris = load_iris()
print(iris.feature_names) # 4°³ÀÇ Æ¯Â¡ À̸§À» Ãâ·ÂÇÑ´Ù.
# Á¤¼ö´Â ²ÉÀÇ Á¾·ù¸¦ ³ªÅ¸³½´Ù.: 0 = setosa, 1=versicolor, 2=virginica
print(iris.target)
print(iris.target.shape)