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

Function predict

MaxEnt/logistic_regression_python.py:129–150  ·  view source on GitHub ↗

预测新实例的类别 :param w:最优化的参数w :param b:最优化的参数b :param X:实例的特征向量 :return:实例的类别

(w, b, X)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

modelFunction · 0.70

Calls 1

sigmoidFunction · 0.85

Tested by

no test coverage detected