自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(31)
  • 收藏
  • 关注

转载 java.lang.Long cannot be cast to java.lang.Integer解决办法

情景:mybatis连接oracle报错:测试增的时候,报错 Java.lang.Long cannot be cast tojava.lang.Integer;删改没有报错。排查过程:1.先针对映射的sql进行排查,打印sql,直接在oracle上执行,没有问题。2.观察接口的返回结果,发现返回值定义为int,找到问题所在。问题虽小,但发现问题的时间稍长...

2016-06-24 16:58:00 589

转载 当我们在谈深度学习时,到底在谈论什么(三)--转

原文:http://suanfazu.com/t/topic/13744正则化相信对机器学习有一定了解的朋友对正则化(Regularization)这个概念都不会陌生。可以这么说,机器学习中被讨论最广泛也可以说是最重要的一个问题,就是防止过拟合(Overfitting)。为什么这么说呢?因为通过增加模型复杂性来在训练数据上达到完美的拟合实在太过容易。如果仅希望在训练数据上...

2016-06-22 14:44:00 91

转载 当我们在谈深度学习时,到底在谈论什么(二)--转

原文地址:http://suanfazu.com/t/topic/13742上一次的分享我们提到了神经网络的几个基本概念,其中提到了随机梯度下降(SGD)算法是神经网络学习(或者更通用的,一般性参数优化问题)的主流方法。概念上,神经网络的学习非常简单,可以被归纳为下面的步骤:(a) 构造神经网络结构(选择层数、激活函数等)(b) 初始化构造出的神经网络参数(c) 对于给定的训练样...

2016-06-22 14:41:00 72

转载 当我们在谈深度学习时,到底在谈论什么(一)--转

原文地址:http://suanfazu.com/t/topic/13741深度学习最近两年在音频分析,视频分析,游戏博弈等问题上取得了巨大的成果。由于微软,谷歌等科技巨头的推动及应用上的可见突破,使得深度学习成为目前学术界和工业界的超热门话题。包括国内很多公司也乐见其成,适时宣布自己的产品或算法也拥抱了深度学习。不过对于具体如何使用,达到了什么效果等问题讳莫如深。事实上,关于深...

2016-06-22 14:27:00 85

转载 Mybatis之Oracle增删查改示例--转

http://blog.csdn.net/bingjie1217/article/details/21088431?utm_source=tuicool&utm_medium=referraloracle表结构create table T_USERS( ID NUMBER not null, NAME VARCHAR2(30), ...

2016-06-20 09:49:00 88

转载 决策树--转

原文地址:https://zh.wikipedia.org/wiki/%E5%86%B3%E7%AD%96%E6%A0%91机器学习中,决策树是一个预测模型;他代表的是对象属性与对象值之间的一种映射关系。树中每个节点表示某个对象,而每个分叉路径则代表的某个可能的属性值,而每个叶结点则对应从根节点到该叶节点所经历的路径所表示的对象的值。决策树仅有单一输出,若欲有复数输出,可以建立独立的...

2016-06-20 09:00:00 200

转载 Anti-If: The missing patterns--转

原文地址:http://code.joejag.com/2016/anti-if-the-missing-patterns.htmlAround 10 years ago I encountered theanti-if campaignand found it to be an absurd concept. How on earth would you make a usef...

2016-06-17 13:31:00 141

转载 Logistic regression--转

原文地址:https://en.wikipedia.org/wiki/Logistic_regressionInstatistics,logistic regression, orlogit regression, orlogit model[1]is aregressionmodel where thedependent variable (DV)iscateg...

2016-06-17 08:56:00 433

转载 spring源码分析之spring jmx

JMX架构定义:https://docs.oracle.com/javase/8/docs/technotes/guides/jmx/overview/architecture.htmlArchitecture OutlineJMX technology is defined by two closely related specifications developed ...

2016-06-17 08:30:00 99

转载 LIBSVM -- A Library for Support Vector Machines--转

原文地址:http://www.csie.ntu.edu.tw/~cjlin/libsvm/index.htmlChih-Chung Chang andChih-Jen LinVersion 3.21 released on December 14, 2015. It conducts some minor fixes.LIBSVM toolsprovides...

2016-06-15 09:25:00 447

转载 支持向量机--转

原文地址:https://zh.wikipedia.org/wiki/%E6%94%AF%E6%8C%81%E5%90%91%E9%87%8F%E6%9C%BA支持向量机(英语:Support Vector Machine,常简称为SVM)是一种监督式学习的方法,可广泛地应用于统计分类以及回归分析。支持向量机属于一般化线性分类器,也可以被认为是提克洛夫规范化(Tikhonov R...

2016-06-15 09:07:00 225

转载 Fisher 线性分类器--转

原文地址:http://blog.csdn.net/htyang725/article/details/6571550Fisher 线性分类器由R.A.Fisher在1936年提出,至今都有很大的研究意义,下面介绍Fisher分类器的Fisher准则函数Fisher准则函数在模式识别的分类算法中,大概可以分为两类,一种是基于贝叶斯理论的分类器,该类型分类器也称为参数判别...

2016-06-15 09:00:00 84

转载 Huber loss--转

原文地址:https://en.wikipedia.org/wiki/Huber_lossInstatistics, theHuber lossis aloss functionused inrobust regression, that is less sensitive tooutliersin data than thesquared error loss. ...

2016-06-15 08:46:00 416

转载 最小二乘拟合,L1、L2正则化约束--转

原文地址:http://blog.csdn.net/u013164528/article/details/45042895最小二乘法(又称最小平方法)是一种数学优化技术。它通过最小化误差的平方和寻找数据的最佳函数匹配。利用最小二乘法可以简便地求得未知的数据,并使得这些求得的数据与实际数据之间误差的平方和为最小。从维基百科中摘取的最小二乘的拟合曲线。解法:其中Y为列向...

2016-06-14 09:03:00 250

转载 最小二乘法多项式拟合的Java实现--转

原文地址:http://blog.csdn.net/funnyrand/article/details/46742561背景由于项目中需要根据磁盘的历史使用情况预测未来一段时间的使用情况,决定采用最小二乘法做多项式拟合,这里简单描述下:假设给定的数据点和其对应的函数值为 (x1, y1), (x2, y2), ... (xm, ym),需要做的就是得到一个多项式函数...

2016-06-14 08:50:00 337

转载 最小二乘法多项式曲线拟合原理与实现--转

原文地址:http://blog.csdn.net/jairuschan/article/details/7517773/概念最小二乘法多项式曲线拟合,根据给定的m个点,并不要求这条曲线精确地经过这些点,而是曲线y=f(x)的近似曲线y= φ(x)。原理[原理部分由个人根据互联网上的资料进行总结,希望对大家能有用] 给定数据点pi(xi,yi...

2016-06-14 08:46:00 185

转载 聪明人和蠢人的差别

老夫现在才发现聪明人和蠢人的差别是如此的大,同样的一件事情聪明人会处理的让人如沐春风,蠢人总会把事情办糟,弄得血淋淋的还说是为了自己的主子好--《唐砖》转载于:https://www.cnblogs.com/davidwang456/articles/5582695.html...

2016-06-14 08:19:00 218

转载 Dapper,大规模分布式系统的跟踪系统--转

原文地址:http://bigbully.github.io/Dapper-translation/概述当代的互联网的服务,通常都是用复杂的、大规模分布式集群来实现的。互联网应用构建在不同的软件模块集上,这些软件模块,有可能是由不同的团队开发、可能使用不同的编程语言来实现、有可能布在了几千台服务器,横跨多个不同的数据中心。因此,就需要一些可以帮助理解系统行为、用于分析性能问题的工...

2016-06-13 10:22:00 117

转载 spring注解源码分析--how does autowired works?

1. 背景注解可以减少代码的开发量,spring提供了丰富的注解功能。我们可能会被问到,spring的注解到底是什么触发的呢?今天以spring最常使用的一个注解autowired来跟踪代码,进行debug。2. Autowired的定义及作用作用:Marks a constructor, field, setter method or config method as to...

2016-06-12 11:18:00 124

转载 svn 合并分支代码到主干

1. eclipse 安装subclipse2. 将主干trunk导入到eclipse中3. 右键选择team-->合并,注意,去掉红色圈内的选项4. next 选中select查找svn branch的路径5. 一路next转载于:https://www.cnblogs.com/davidwang456/p/5570783.html...

2016-06-08 17:32:00 76

转载 eclipse使用tomcat进行部署时编译代码不一致的处理

操作步骤:1. 先add and remove 去除项目2. clean 完成清除工程在tomcat的目录3. project-->clean4. add adn remove 重新添加工程5. publish 发布到tomcat目录6. 比较工程下的class编译文件和tomcat目录下的工程文件是否一致ok转载于:https://www...

2016-06-08 17:23:00 248

转载 How does Spring @Transactional Really Work?--转

原文地址:http://blog.jhades.org/how-does-spring-transactional-really-work/In this post we will do a deep dive into Spring transaction management. We will go over on how does@Transactionalreally w...

2016-06-08 16:01:00 150

转载 Spring Annotation Processing: How It Works--转

找的好辛苦呀原文地址:https://dzone.com/articles/spring-annotation-processing-how-it-worksIf you see an annotation, there must be some code somewhere to process it.One of the things I emphasize when I...

2016-06-08 15:01:00 128

转载 Key Components and Internals of Spring Boot Framework--转

原文地址:http://www.journaldev.com/7989/key-components-and-internals-of-spring-boot-frameworkIn my previous post“Introduction to Spring Boot”, we have discussed about Spring Boot basics. Now we wi...

2016-06-08 09:43:00 138

转载 How do annotations work internally--转

原文地址:http://stackoverflow.com/questions/18189980/how-do-annotations-work-internallyThe first main distinction between kinds of annotation is whether they're used at compile time and then discar...

2016-06-06 16:00:00 83

转载 How Do Annotations Work in Java?--转

原文地址:https://dzone.com/articles/how-annotations-work-javaAnnotationshave been a very important part of Java and it’s been there from the time of J2SE 5.0. All of us might have seen annotations...

2016-06-06 15:55:00 88

转载 什么是WeakHashMap--转

原文地址:http://laravel.iteye.com/blog/2303244JavaWeakHashMap到底Weak在哪里,它真的很弱吗?WeakHashMap的适用场景是什么,使用时需要注意些什么?弱引用和强引用对Java GC有什么不同影响?本文将给出清晰而简洁的介绍。总体介绍在Java集合框架系列文章的最后,笔者打算介绍一个特殊的成员:WeakHashM...

2016-06-06 15:44:00 64

转载 How Spring Boot Autoconfiguration Magic Works--转

原文地址:https://dzone.com/articles/how-springboot-autoconfiguration-magic-worksIn my previous post "Why Spring Boot?",we looked at how to create a Spring Boot application, but you may or may not ...

2016-06-06 15:30:00 105

转载 Example of ApplicationContextAware in Spring--转

原文地址:http://www.concretepage.com/spring/example_applicationcontextaware_springIn spring we can get ApplicationContext anywhere in our code with the help of ApplicationContextAware. ApplicationC...

2016-06-03 10:47:00 69

转载 Example of BeanFactoryAware in Spring--转

原文地址:http://www.concretepage.com/spring/example_beanfactoryaware_springIf a bean in spring implements BeanFactoryAware then that bean has to implement a method that issetBeanFactory. And when t...

2016-06-03 10:30:00 57

转载 Spring AOP AspectJ Pointcut Expressions With Examples--转

原文地址:http://howtodoinjava.com/spring/spring-aop/writing-spring-aop-aspectj-pointcut-expressions-with-examples/1) Matching Method Signature PatternsThe most typical pointcut expressions are us...

2016-06-02 17:13:00 85

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除