MCPcopy Index your code
hub / github.com/codewithzichao/Machine_Learning_Code / loadData

Function loadData

SVM/SVM_python.py:17–39  ·  view source on GitHub ↗

加载数据 :param fileName:路径名 :return: 返回特征向量与标签类别 在这里需要注意的是:最后使用要np.array,以保证维度。 当然使用np.mat等也没有问题,但是相关操作容易搞混。

(fileName)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

SVM_python.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected