摘要: 学习进度笔记19 Scala 正则表达式 Scala 通过 scala.util.matching 包中的 Regex 类来支持正则表达式。以下实例演示了使用正则表达式查找单词 Scala : import scala.util.matching.Regexobject Test { def mai 阅读全文
posted @ 2021-01-29 07:12 城南漠北 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 博雅数据机器学习04 线性回归 一元线性回归 import pandas as pd from sklearn import linear_model insurance = pd.read_csv('insurance.csv') age = insurance['age'].values cha 阅读全文
posted @ 2021-01-29 06:30 城南漠北 阅读(101) 评论(0) 推荐(0) 编辑