$R^2$不止一种定义方式,这里是scikit-learn中所使用的定义。 As such variance is dataset dependent, R² may not be meaningfully comparable across different datasets. Best pos ...
分类:
其他好文 时间:
2020-11-25 12:34:00
阅读次数:
5
mormot2 http.sys 单元文件:mormot.net.server.pas /// HTTP server using fast http.sys kernel-mode server // - The HTTP Server API enables applications to co ...
分类:
Web程序 时间:
2020-11-24 12:24:19
阅读次数:
8
8 1 #include<stdio.h> 2 int num[100]; 3 int main() 4 { 5 int x; 6 int cnt = 0; 7 scanf("%d", &x); 8 while(x) { 9 num[++cnt] = x % 10; 10 x = x / 10; 1 ...
分类:
编程语言 时间:
2020-11-24 12:15:10
阅读次数:
9
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" an ...
分类:
移动开发 时间:
2020-11-23 12:00:24
阅读次数:
16
DateTimeFormatter formatter= DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");//对象转字符串String timeStr = formatter.format(LocalDateTime.now());System. ...
分类:
编程语言 时间:
2020-11-20 12:18:29
阅读次数:
24
题意 cf 做法 令$l_{u,v}((u,v)\in E)\(为边\)(u,v)$的边权 令$x_{u,v}\(为对边\)(u,v)$的增量 令$X$为总增量限制 令$d_i$为一组增量序列${x}$对图造成影响后,从$s$到$i$的最短路径 可以发现$d_s$是什么并不重要,我们将其写成线性规划 ...
分类:
其他好文 时间:
2020-11-20 11:51:00
阅读次数:
6
全部内容在《数学手册》, 内容暂时不全, 因要考试, 故暂时只先整理可能用得到的, 等考完试再把全部公式补上 首先回顾一下泰勒展开式: 设函数 \(f(x)\) 在 \(x_0\) 的某个邻域 \(O(x_0, r)\) 中能展开幂级数, 则它的幂级数展开就是 \(f(x)\) 在 \(x_0\) ...
分类:
其他好文 时间:
2020-11-20 11:38:09
阅读次数:
4
一道二进制子串算法,让面试官都解不出来?算法题目:给定一个字符串s,计算具有相同数量0和1的非空(连续)子字符串的数量,并且这些子字符串中的所有0和所有1都是组合在一起的。重复出现的子串要计算它们出现的次数。示例1:输入:"00110011"输出:6解释:有6个子串具有相同数量的连续1和0:“0011”,“01”,“1100”,“10”,“0011”,“01”。注意,一些重复出
分类:
编程语言 时间:
2020-11-18 12:52:16
阅读次数:
9
%matplotlib inline import matplotlib.pyplot as plt plt.plot(xx,yy_train_loss,"r", label = "train_loss") plt.plot(xx,yy_valid_loss,"b", label = "valid_ ...
分类:
其他好文 时间:
2020-11-17 13:00:36
阅读次数:
26
正式宣布:C# 9.0 发布了! 要学习C# 9.0,看这篇就对了。对于 C# 的每一个新版本,我们都在努力让常见编码场景的实现变得更加清晰和简单,C# 9.0 也不例外。这次特别关注的是支持数据模型的简洁和不可变表示。翻译自 Mads Torgersen 2020年11月10日的博文《C# 9.0... ...