正弦图像: #coding:utf-8import numpy as npimport matplotlib.pyplot as pltx=np.linspace(0,10,1000)y=np.sin(x)z=np.cos(x**2)#控制图形的长和宽单位为英寸,# 调用figure创建一个绘图对象,并且使它成为当前的绘图对象.plt.figure(figsize=(8,4))#$可以让字体变得跟好看#给所绘制的曲线一个名字,此名字在图示(legend)中显示.# 只要在字符串前后添加"$&qu…
https://jmetzen.github.io/2015-01-29/ml_advice.html Advice for applying Machine Learning This post is based on a tutorial given in a machine learning course at University of Bremen. It summarizes some recommendations on how to get started with machin…
基本回归 回归(Regression):https://www.tensorflow.org/tutorials/keras/basic_regression 主要步骤:数据部分 获取数据(Get the data) 清洗数据(Clean the data) 划分训练集和测试集(Split the data into train and test) 检查数据(Inspect the data) 分离标签(Split features from labels) 规范化数据(Normalize th…