機器學習實戰 KNN算法

1. 由於return開始於index對齊,導致返回的結果只有第一行正確。 python對對齊格式的要求很是嚴格。 2. TypeError: unsupported operand type(s) for %: 'builtin_function_or_method' and 'tuple' python3.6 print格式爲print() 3. ValueError: incomplete
相關文章
相關標籤/搜索