摘要: import keras model = keras.models.Sequential([ keras.layers.Dense(4, activation='relu', input_dim=1, name='layer1', kernel_initializer='one'), keras.l 阅读全文
posted @ 2019-11-13 20:15 yytxdy 阅读(611) 评论(0) 推荐(1) 编辑
摘要: import matplotlib.pyplot as plt import numpy as np from scipy.optimize import curve_fit def f_fit(x, a, b, c): return a * x ** 2 + b * x + c x = [1, 2 阅读全文
posted @ 2019-11-13 15:03 yytxdy 阅读(857) 评论(0) 推荐(0) 编辑