机器学习的评估 PR曲线用于positive类数据占比比较小,或者你更加在意false postion(相比于false negative);其他情况采用ROC曲线;比如Demo中手写体5的判断,因为只有少量5,所以从ROC上面来看分类效果不错,但是从PR曲线可以看到分类器效果不佳。 y_score... ...
分类:
其他好文 时间:
2018-07-17 23:24:07
阅读次数:
502
题目描述 Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located withi ...
分类:
其他好文 时间:
2018-07-16 17:16:46
阅读次数:
177
问题描述: Given an array of citations sorted in ascending order (each citation is a non-negative integer) of a researcher, write a function to compute the ...
分类:
其他好文 时间:
2018-07-16 11:25:23
阅读次数:
185
问题描述: Given an array which consists of non-negative integers and an integer m, you can split the array into m non-empty continuous subarrays. Write an ...
分类:
其他好文 时间:
2018-07-16 11:24:47
阅读次数:
115
Given a non-negative integer numRows, generate the first numRows of Pascal's triangle. In Pascal's triangle, each number is the sum of the two numbers ...
分类:
其他好文 时间:
2018-07-16 11:15:58
阅读次数:
126
Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle. Note that the row index starts from 0. In Pascal's trian ...
分类:
其他好文 时间:
2018-07-16 11:15:19
阅读次数:
147
Description Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater locate ...
分类:
其他好文 时间:
2018-07-15 19:35:55
阅读次数:
212
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo ...
分类:
编程语言 时间:
2018-07-14 13:06:19
阅读次数:
105
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:
Web程序 时间:
2018-07-13 22:49:48
阅读次数:
287
69. Sqrt(x) Implement int sqrt(int x). Compute and return the square root of x, where x is guaranteed to be a non-negative integer. Since the return t ...
分类:
其他好文 时间:
2018-07-12 22:39:48
阅读次数:
152