为什么roc_auc_score()和auc()有不同的结果? auc():计算ROC曲线下的面积.即图中的area roc_auc_score():计算AUC的值,即输出的AUC 最佳答案 AUC并不总是ROC曲线下的面积.曲线下面积是某个曲线下的(抽象)区域,因此它比AUROC更通用.对于不平衡 ...
分类:
其他好文 时间:
2020-04-29 13:04:56
阅读次数:
324
package LeetCode_1290 /** * 1290. Convert Binary Number in a Linked List to Integer * https://leetcode.com/problems/convert-binary-number-in-a-linked- ...
分类:
其他好文 时间:
2020-04-29 00:53:52
阅读次数:
52
1、从《高性能mysql》书中讲解主从原理大致有三个步骤: 在主库上把数据更改记录到二进制日志中(Binary Log)中,这些记录称为二进制日志事件。 从库通过IO线程将主库上的日志复制到自己的中继日志(Relay Log)中。 从库通过SQL线程读取中继日志中的事件,将其重放到自己数据上。 原理 ...
分类:
数据库 时间:
2020-04-28 17:01:09
阅读次数:
103
The following is from Max Howell @twitter: Google: 90% of our engineers use the software you wrote (Homebrew), but you can't invert a binary tree on a ...
分类:
其他好文 时间:
2020-04-28 16:57:01
阅读次数:
57
user root root;worker_processes 1; #设置值和CPU核心数一致error_log /usr/local/nginx/logs/nginx_error.log crit; #日志位置和日志级别pid /usr/local/nginx/nginx.pid;#Specif ...
分类:
其他好文 时间:
2020-04-28 15:18:17
阅读次数:
66
1、 软件运行环境 1> 软件运行和编译 ABI:Application Binary Interface(应用程序的二进制接口) Windows 与 Linux 不兼容 ELF 对应于UNIX 下的文件 PE 则是Windows 的可执行文件 库级别的虚拟化:不兼容解决 Linux:WINE(可以 ...
分类:
系统相关 时间:
2020-04-28 13:09:49
阅读次数:
61
```/** * 94. Binary Tree Inorder Traversal * 1. Time:O(n) Space:O(n) * 2. Time:O(n) Space:O(n) * 3. Time:O(n) Space:O(1) */// 1. Time:O(n) Space:O(n)c... ...
分类:
其他好文 时间:
2020-04-27 13:26:00
阅读次数:
56
Bin:全称binary,用于存放二进制文件,可以被运行。 Dev:存放外接设备,在其中的设备需要挂载(类似windows下面的分配盘符)才能直接使用。 Etc:主要存储一些配置文件 Home:表示除了root用户以外的其他用户的家目录,类似windows下的user/用户用户。 Proc:proc ...
分类:
系统相关 时间:
2020-04-27 13:24:39
阅读次数:
106
Given two binary search trees, return True if and only if there is a node in the first tree and a node in the second tree whose values sum up to a giv ...
分类:
其他好文 时间:
2020-04-27 13:22:13
阅读次数:
61
```/** * 144. Binary Tree Preorder Traversal * 1. Time:O(n) Space:O(n) * 2. Time:O(n) Space:O(n) * 3. Time:O(n) Space:O(n) * 4. Time:O(n) Space:O(1) *... ...
分类:
其他好文 时间:
2020-04-27 13:11:07
阅读次数:
39