04 2021 档案

摘要:mEn=mE+n=me+n=men=m * 10 ^ n 举例说明: 3E2=3E+2=3e+2=3e2=3 * 10 ^ 2 = 300 中间那个E表示10的次幂,比如E+2表示10^2也就是200,这个E可以大写或者小写。 mEn=mE+n=me+n=men=m * 10 ^ -n 举例说明: 阅读全文
posted @ 2021-04-22 11:06 oaksharks 阅读(636) 评论(0) 推荐(0) 编辑
摘要:## 基本用法 通过这个用例可以观察到启动了5个进程。 ```python from joblib import Parallel, delayed def get_pid(p_num): import os import time time.sleep(10) return "%d_%d" % ( 阅读全文
posted @ 2021-04-14 19:47 oaksharks 阅读(76) 评论(0) 推荐(0) 编辑
摘要:argsort 返回排序后的数组索引 import numpy as np a1 = np.array([8,6,7]) a1.argsort() # 输出array([1, 2, 0]), 对应的数据为 6,7,8 阅读全文
posted @ 2021-04-12 16:32 oaksharks 阅读(34) 评论(0) 推荐(0) 编辑
摘要:表达式:R2=SSR/SST SSR(regression sum of squares)为回归平方和 SST(total sum of squares)为总平方和 SSR与SST接近时模型比较好,也就是R2=1, SST是一个常量, R2的值是一个正数,在1附近比较好。 阅读全文
posted @ 2021-04-09 21:01 oaksharks 阅读(574) 评论(0) 推荐(0) 编辑