gradient descent 的python实现
从模拟数据集到曲线拟合# -*- coding: utf-8 -*-"""Created on Tue Sep 5 21:21:58 2017@author: wjw模拟产生数据集,然后再进行拟合"""def nomalization(X):#不归一化时梯度下降时数值太大,报错 maxX = max(X) minX = min(X) normaliz...