import numpy as npimport matplotlib.pyplot as pltfrom sklearn import linear_modelfrom sklearn import datasets%matplotlib inlinediabetes = datasets.loa ...
分类:
其他好文 时间:
2020-06-17 12:56:52
阅读次数:
53
1. TensorFlow model import math import numpy as np import h5py import matplotlib.pyplot as plt import scipy from PIL import Image from scipy import nd ...
分类:
Web程序 时间:
2020-06-16 20:28:35
阅读次数:
54
TensorFlow常用函数 1 import math 2 import numpy as np 3 import h5py 4 import matplotlib.pyplot as plt 5 import tensorflow as tf 6 from tensorflow.python.f ...
分类:
其他好文 时间:
2020-06-15 13:51:06
阅读次数:
54
import warnings warnings.filterwarnings('ignore') import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns Matplot ...
分类:
其他好文 时间:
2020-06-15 11:52:10
阅读次数:
60
首先,导入一组数据,代码如下: import numpy as np import matplotlib.pyplot as plt x, y = [], [] for sample in open("../_Data/prices.txt", "r"): _x, _y = sample.split ...
分类:
其他好文 时间:
2020-06-14 18:59:39
阅读次数:
100
1.散点图 matplotlib.pyplot.scatter(x, y, s=None, c=None, marker=None, cmap=None, norm=None, vmin=None, vmax=None, alpha=None, linewidths=None, verts=None ...
分类:
其他好文 时间:
2020-06-14 14:59:01
阅读次数:
55
python数据可视化分析首先载入必要的库import warningsimport numpy as npimport pandas as pdimport matplotlib.pyplot as pltimport seaborn as snssns.set()warnings.filterw ...
分类:
编程语言 时间:
2020-06-14 14:52:00
阅读次数:
98
import matplotlib.pyplot as pltimport numpy as npgs = plt.GridSpec(3,3)fig = plt.figure(figsize=(6,6))x1 = np.array([1,3,2,5])y1 = np.array([4,3,7,2]) ...
分类:
其他好文 时间:
2020-06-14 13:08:02
阅读次数:
69
import matplotlib.pyplot as pltimport numpy as npfig = plt.figure()ax = fig.add_axes([0.1,0.1,0.8,0.8])inner_ax = fig.add_axes([0.6,0.6,0.25,0.25])x1 ...
分类:
其他好文 时间:
2020-06-14 12:45:50
阅读次数:
70
1 import pandas 2 from matplotlib import pyplot 3 from scipy.stats import linregress 4 sale=pandas.read_excel('销售.xlsx',dtype={'date':str}) 5 6 7 slop ...
分类:
其他好文 时间:
2020-06-14 12:37:02
阅读次数:
59