接入门的实例,我们知道MyBatis可以使用注解和配置文件实现接口和sql语句的绑定。 那么一个接口方法同时使用注解和xml配置会怎么样。 如果传入id=12,查出来的User.id=12,说明注解覆盖xml配置,查出来的User.id=11,说明xml配置覆盖注解 结果是: 竟然抛异常啦,去掉任何 ...
分类:
其他好文 时间:
2018-02-28 14:43:12
阅读次数:
179
这是本周第二篇机器学习,也是Hulu面试题系列的第十七篇了~ 之前的所有内容都可以在菜单栏的“机器学习”中找到,愿你温故,知新。 今天的内容是 【随机梯度下降算法之经典变种】 场景描述 提到Deep Learning中的优化方法,人们都会想到Stochastic Gradient Descent ( ...
分类:
编程语言 时间:
2018-02-27 21:29:51
阅读次数:
675
一、JS中for循环遍历测试 for循环遍历有两种 第一种:是有条件的那种,例如 for(var i = 0;i<ele.length;i++){} 第二种:for (var i in li ){} 现在我们来说一下测试一下第二种(数组和obj的) //测试for循环 <!DOCTYPE html> ...
分类:
Web程序 时间:
2018-02-20 18:23:20
阅读次数:
310
近期升级了系统到Mac OS X 10.10 而且更新了XCode6.1和iOS 8.1 之前app用到的libmp3lame.a静态库。也要支持64位的模拟器(x86_64)和64位的真机(arm64)指令集。须要又一次编译 查阅了下资料,依照例如以下步骤,并做了些凝视和修改 1.http://s ...
分类:
移动开发 时间:
2018-02-15 11:54:12
阅读次数:
319
Given a string, find the length of the longest substring without repeating characters.Examples:Given "abcabcbb", the answer is "abc", which the length... ...
分类:
其他好文 时间:
2018-02-12 23:41:19
阅读次数:
317
Given a list of 24-hour clock time points in "Hour:Minutes" format, find the minimum minutes difference between any two time points in the list.Exampl... ...
分类:
其他好文 时间:
2018-02-12 23:37:25
阅读次数:
214
【解释】 tree的两个bounding boxes 都要保留,因为交并比小于0.5;car 0.73保留;pedestrain 0.98保留;motorcycle 0.58保留。一共5个。 【解释】 5个anchor box, 一个anchor box 对应(1+4+20)个标签,所以output ...
分类:
Web程序 时间:
2018-02-07 22:51:18
阅读次数:
209
Learning Goals: Understand the challenges of Object Localization, Object Detection and Landmark Finding Understand and implement non-max suppression U ...
分类:
Web程序 时间:
2018-02-07 21:31:41
阅读次数:
257
在概念篇里,了解到覆盖率,开始的时候,看断言库,看mocha,但实际操刀写单元测试,还是没啥概念,就算是看了element ui 组件库的那些单元测试用例,实际搬到自己组件上的时候,还是感觉无从下手,只有个模糊的概念: 组件的单元测试,那就分: 1、文本比对 2、组件中方法调用 3、组件中props ...
分类:
其他好文 时间:
2018-02-05 17:12:44
阅读次数:
161