基于线性回归的传染趋势预测

基于线性回归的传染趋势预测

— 空 — ​ 这个春节对于每个国人来说,都是一个不一样的春节。各大旅游景点空了,货架上的口罩品类空了,正月的拜年日程空了,城市空了,人心却没有空。全世界都在为武汉加油,为中国加油。 — 数字 — ​ 2月4日0—24时,31个省(自治区、直辖市)和新疆生产建设兵团报告新增确诊病例3887例(湖北省3156例),新增重症病例431例(湖北省377例),新增死亡病例65例(湖北省65例),新增治愈出院病例262例(湖北省125例),新增疑似病例3971例(湖北省1957例)。 截至2月4日24时,国家卫生健康委收到31个省(自治区、直辖市)和新疆生产建设兵团累计报告确诊病例24324例(海南省
Read More
2019-nCoV Data Prediction

2019-nCoV Data Prediction

2019 Novel Coronavirus (2019-nCoV) is a virus (more specifically, a coronavirus identified as the cause of an outbreak of respiratory illness first detected in Wuhan, China. Early on, many of the patients in the outbreak in Wuhan, China reportedly had some link to a large seafood and animal market,
Read More
Getting started with Python 2

Getting started with Python 2

For and Else

1
2
3
4
for x in range(6):
print(x)
if x==2: break
else: print("over") # this line will skip if last line exists

Pass

There cannot exist any blank within for and if else. We must use pass to avoid the mistake.

1
2
3
for x in [1,2,3,4]:
pass
print("over")
Read More
Getting started with Python 1

Getting started with Python 1

What’s new for me * Do not need to declare variables * indentation replaces curly braces to divide code blocks Grammar Assigning value to multiple variables 1 x, y, z = 1, 2, "hello" Define a global variable in local function 1 2 3 def myfunc(): global x x = "fantastic" Change the
Read More