按照特徵值劃分數據集

建立數據集:python def createDataSet(): dataSet = [[1, 1, 'yes'], [1, 1, 'yes'], [1, 0, 'no'], [0, 1, 'no'], [0, 1, 'no']] labels = ['no s
相關文章
相關標籤/搜索