摘要:
转自: https://github.com/zhaozhiyong19890102/Python-Machine-Learning-Algorithm 阅读全文
摘要:
Logistics Regression 二分类问题。 模型 线性模型 响应 sigmoid 损失函数(显示) 最小均方 优化方法 BGD 例子: #coding utf-8 import numpy as np def load_data(file_name): feature_data = [] 阅读全文
摘要:
字符串.join(字符串序列) 一目了然: 参考: http://www.runoob.com/python/att-string-join.html 阅读全文
摘要:
shape 是返回 np.mat 的形状的。 1. 作为 mat 的成员变量,a.shape 2. 作为 np 的成员函数,np.shape 阅读全文