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

Function optimization

MaxEnt/logistic_regression_python.py:96–126  ·  view source on GitHub ↗

优化,使用batch GD :param w: 参数w :param b: 参数b :param X: 输入的特征向量 :param Y: 输入的类别向量 :param iterations: 迭代次数(其实就是epoch) :param learning_rate: 学习率 :return: 最优化的参数w,b,以及costs(costs可有可无,取决于你是否想看训练过程中的cost的变化)

(w, b, X, Y, iterations, learning_rate)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

modelFunction · 0.85

Calls 1

propagationFunction · 0.85

Tested by

no test coverage detected