2018年3月13日
摘要: CRBNMI.C里面有function VOID CRBGpi8SmiHandler ( IN EFI_HANDLE DispatchHandle, IN EFI_SMM_GPI_DISPATCH_CONTEXT *DispatchContext ) { // Porting if needed } 阅读全文
posted @ 2018-03-13 14:31 米兰达莫西 阅读(11120) 评论(0) 推荐(0) 编辑
  2018年3月12日
摘要: 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 阅读全文
posted @ 2018-03-12 20:17 米兰达莫西 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 11.charAt()方法返回指定索引位置的char值。索引范围为0~length()-1. 如: str.charAt(0)检索str中的第一个字符,str.charAt(str.length()-1)检索最后一个字符. 阅读全文
posted @ 2018-03-12 16:21 米兰达莫西 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 线性模型 f(x) = w1x1+w2x2+…+wdxd+b 1,线性回归 线性回归试图学得: f(xi) = wxi+b,似的f(xi)约等于yi 方法:均方误差最小化 均方误差有非常好的几何意义,它对应了常用的欧几里得距离(欧氏距离)。 基于“均方误差最小化来进行模型求解的方法称“最小二乘法”。 阅读全文
posted @ 2018-03-12 11:58 米兰达莫西 阅读(684) 评论(0) 推荐(0) 编辑
摘要: 简介: APIC 是装置的扩充组合用来驱动 Interrupt 控制器。在目前的建置中,系统的每一个部份都是经由 APIC Bus 连接的。"本机 APIC" 为系统的一部份,负责传递 Interrupt 至指定的处理器;举例来说,当一台机器上有三个处理器则它必须相对的要有三个本机 APIC。自 1 阅读全文
posted @ 2018-03-12 11:28 米兰达莫西 阅读(5300) 评论(0) 推荐(0) 编辑
摘要: 1,一些概念 错误率:分类错误的样本数占总数的比例 精度:1-错误率 误差:学习器的实际预测输出和样本的真实输出 训练误差(经验误差):在训练集上的误差 泛化误差:在新样本上的误差 过拟合:学习器把训练样本学得“太好”,把样本本身的一些特点当做了潜在样本所具有的一般性质,导致泛化性能下降 欠拟合:训 阅读全文
posted @ 2018-03-12 11:19 米兰达莫西 阅读(152) 评论(0) 推荐(0) 编辑
  2018年3月11日
摘要: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example: Example: 阅读全文
posted @ 2018-03-11 19:48 米兰达莫西 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 一,线性表 N个元素的有限序列,典型的表现为数组。 (A,B,C,D……) 典型操作: 1, InitList(&L) 构造一个空的线性表 2, DestroyList(&L) 销毁线性表 3, ClearList(&L) 将线性表重置为空表 4, ListEmpty(L) 判断线性表是否为空表 5 阅读全文
posted @ 2018-03-11 11:57 米兰达莫西 阅读(340) 评论(0) 推荐(0) 编辑
  2018年3月10日
摘要: 执行Recovery过程 Recovery mode被开启,系统将尝试找到BIOS update file,找到后系统将会load image到memory中,然后将boot Recovery image。 Boot process将会将开始执行Recovery。 当REFLASH_INTERACT 阅读全文
posted @ 2018-03-10 22:27 米兰达莫西 阅读(2352) 评论(0) 推荐(0) 编辑
摘要: (待解,图)Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting a 阅读全文
posted @ 2018-03-10 14:42 米兰达莫西 阅读(92) 评论(0) 推荐(0) 编辑