摘要: 1、灰度预测函数GM11() def GM11(x0): #自定义灰色预测函数 import numpy as np x1 = x0.cumsum() #1-AGO序列 z1 = (x1[:len(x1)-1] + x1[1:])/2.0 #紧邻均值(MEAN)生成序列 z1 = z1.reshap 阅读全文
posted @ 2022-04-06 20:10 xieyvhua 阅读(96) 评论(0) 推荐(0)
摘要: 1、神经网络 '''神经网络测试''' import pandas as pd from keras.models import Sequential from keras.layers.core import Dense, Activation import numpy as np # 参数初始化 阅读全文
posted @ 2022-03-27 17:24 xieyvhua 阅读(372) 评论(0) 推荐(0)
摘要: • 1. 产品描述 — 产品特点 — 典型客户 — 盈利能力 — 市场进入壁垒分析 • 2. 产品功能 — 功能描述 — 产品模型页面 • 3. 需求分析 — 产品竞争优势 — 项目风险及解决 1. 产品描述 这是一个关于软件(伴你之声),录入你女朋友,妻子,闺蜜或者爸爸妈妈的声音,或者去网上提取你 阅读全文
posted @ 2021-10-26 21:17 xieyvhua 阅读(86) 评论(0) 推荐(0)
摘要: 恢复内容开始 恢复内容结束 阅读全文
posted @ 2021-09-21 20:23 xieyvhua 阅读(14) 评论(0) 推荐(0)
摘要: 代码如下: from random import randomdef printIntro(): # 打印程序介绍信息 print('这个程序模拟两个队伍A和B的排球竞技比赛') print('程序运行需要A和B的能力值(以0到1之间的小数表示)') def getInputs(): # 获得程序运 阅读全文
posted @ 2020-05-21 08:20 xieyvhua 阅读(335) 评论(0) 推荐(0)
摘要: 一.请用requests库的get()函数访问百度网站20次,打印返回状态,text()内容,计算text()属性和content()属性所返回网页内容的长度。 该题对应代码如下: 运行结果如下(以最后一次访问为例): 19函数测试输出: <!DOCTYPE html><html lang="cn" 阅读全文
posted @ 2020-05-13 22:19 xieyvhua 阅读(408) 评论(0) 推荐(0)
摘要: 一.numpy和matplotlib笔记 1.numpy 引用方式:import numpy as np 创建数组常用函数 数组ndarray的基本处理函数: ndarray类的索引和切片: numpy库的算术运算函数: numpy库的比较运算函数: numpy库的其他运算函数: 2.matplot 阅读全文
posted @ 2020-05-06 17:55 xieyvhua 阅读(186) 评论(0) 推荐(0)
摘要: import timescale=50print("执行开始".center(scale//2,"-"))start=time.perf_counter()for i in range(scale+1): a='*' * i b='.' * (scale-i) c=(i/scale)*100 dur 阅读全文
posted @ 2020-04-06 17:32 xieyvhua 阅读(110) 评论(0) 推荐(0)
摘要: import turtle as tt.setup(650,350,300,300)t.penup()t.fd(-250)t.pendown()for i in range(4): t.fd(200) t.right(90)t.penup()t.fd(50)t.right(90)t.fd(100)t 阅读全文
posted @ 2020-03-22 22:06 xieyvhua 阅读(195) 评论(0) 推荐(0)
摘要: import turtle as tt.setup(650,350,200,200)t.penup()t.fd(-250)t.pendown()t.left(30)t.fd(200)t.right(120)t.fd(300)t.right(120)t.fd(300)t.right(120)t.fd( 阅读全文
posted @ 2020-03-17 17:02 xieyvhua 阅读(511) 评论(0) 推荐(0)