2022年3月19日
摘要:
题目如上,求预测值 1.引用 2.激活函数 3.读取数据 4.将调用的数据转为数组 Err = [] 5.中间层神经元输入和输出层神经元输入 6.中间层和输出层神经元权值 7.设置训练 8.结果显示 代码如下: import mathimport pandas as pdimport numpy a
阅读全文
posted @ 2022-03-19 11:07
以晴
阅读(77)
推荐(0)
2020年5月7日
摘要:
score = eval(input()) if score <= 100 and score >= 90: grade = "A" elif score <= 90 and score >= 80: grade = "B" elif score <= 80 and score >= 70: gra
阅读全文
posted @ 2020-05-07 10:46
以晴
阅读(164)
推荐(0)
2020年4月15日
摘要:
import math a=eval(input('输入 a:')) b=eval(input('输入b:')) c=eval(input(输入c:')) if a==0: if b==0: print("Data error!") else: sol=-c/b print('结果为{:.2f}'.
阅读全文
posted @ 2020-04-15 10:42
以晴
阅读(164)
推荐(0)
2020年4月2日
摘要:
import turtle as t t.fillcolor("yellow") t.begin_fill() t.pensize(3) t.circle(100) t.penup() t.left(125) t.fd(120) t.pendown() t.right(85) t.fd(30) t.
阅读全文
posted @ 2020-04-02 12:48
以晴
阅读(174)
推荐(0)
2020年4月1日
摘要:
import turtle as t t.pensize(5) for i in range(5): t.fd(20) t.left(145)
阅读全文
posted @ 2020-04-01 23:00
以晴
阅读(49)
推荐(0)
摘要:
import turtle as t t.pensize(5) for i in range(5): t.fd(100) t.left(145) t.seth(180) for c in range(5): t.fd(100) t.right(145)
阅读全文
posted @ 2020-04-01 22:59
以晴
阅读(153)
推荐(0)
摘要:
import turtle as t t.pensize(3) for i in range(6): t,fd(12) t.left(60)
阅读全文
posted @ 2020-04-01 22:55
以晴
阅读(242)
推荐(0)
摘要:
import turtle as t for i in range(3): t.fd(18) t.left(120) t.fd(9) t.left(60) for c in range(3): t.fd(9) t.left(120)
阅读全文
posted @ 2020-04-01 22:50
以晴
阅读(77)
推荐(0)