摘要:
function [tpr,fpr,thresholds] = roc(targets,outputs) %ROC Receiver operating characteristic. % % The receiver operating characteristic is a metric used to check % the quality of classifiers. For ea... 阅读全文
摘要:
function out1 = plotroc(varargin) %PLOTROC Plot receiver operating characteristic. % % plotroc(targets,outputs) takes target data in 1-of-N form (each column % vector is all zeros with a single 1 ind... 阅读全文
摘要:
Given a non-empty binary tree, return the average value of the nodes on each level in the form of an array. Example 1: (1)思想1:使用queue ,对二叉树进行层遍历。 C++: 阅读全文
摘要:
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 阅读全文
摘要:
Given a 32-bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 3: Note:Assume we are dealing with an environment which cou 阅读全文