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

Function cutData

Decision_Tree/decision_tree_python.py:134–161  ·  view source on GitHub ↗

:param X_train: 训练样本 :param y_train: 样本标签 :param Ag: 需要切分特征所在的列 :param ai: 切分特征 :return: 切分后的训练样本,标签

(X_train,y_train,Ag,ai)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

creTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected