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

Function test_model

perceptron/perceptron_python.py:137–160  ·  view source on GitHub ↗

再测试数据集上测试 :param test_data_matrix: 测试集的特征向量 :param test_label_matrix: 测试集的标签类别 :param w: 计算得到的参数w :param b: 计算得到的参数b :return: 返回准确率

(test_data_matrix, test_label_matrix, w, b)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected