MCPcopy Create free account
hub / github.com/codewithzichao/Machine_Learning_Code / __init__

Method __init__

KNN/KNN_python.py:35–46  ·  view source on GitHub ↗

构造函数 :param train_data: 训练集的特征向量 :param train_label: 训练集的类别向量 :param K: 指定的K值

(self,train_data,train_label,K)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected