上一页 1 2 3 4 5 6 7 8 9 ··· 21 下一页

2018年1月14日

关于平稳的描述

摘要: 阅读全文

posted @ 2018-01-14 00:47 Alex0111 阅读(119) 评论(0) 推荐(0) 编辑

2018年1月13日

predict predict_proba区别的小例子

摘要: predict_proba返回的是一个n行k列的数组,第i行第j列上的数值是模型预测第i个预测样本的标签为j的概率。所以每一行的和应该等于1. 举个例子 >>> from sklearn.linear_model import LogisticRegression >>> import numpy as np >>> x_train = np.array([[1,2,3], ... 阅读全文

posted @ 2018-01-13 23:06 Alex0111 阅读(6110) 评论(2) 推荐(3) 编辑

2018年1月3日

java.lang.IllegalStateException: ApplicationEventMulticaster not initialized

摘要: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId></dependency>作用域问题。 阅读全文

posted @ 2018-01-03 07:52 Alex0111 阅读(2613) 评论(0) 推荐(0) 编辑

2017年12月27日

Java for循环和foreach循环的性能比较

摘要: 在公司codereview过程中,发现一个问题,就是有些人循环用的是普通for循环,有些人用的是foreach循环,它们之间有什么区别?应该在什么时候使用这两种循环了? 两种循环的语法格式: 普通for循环语法: [java] view plain copy for (int i = 0; i <  阅读全文

posted @ 2017-12-27 20:24 Alex0111 阅读(206) 评论(0) 推荐(0) 编辑

2017年12月18日

hashMap put的返回值测试

摘要: 2017-12-18 18:28:36,275 - sunzhuo2017-12-18 18:28:36,275 - null2017-12-18 18:28:36,275 - 22017-12-18 18:28:36,275 - 22017-12-18 18:28:36,275 - 32017-1 阅读全文

posted @ 2017-12-18 18:30 Alex0111 阅读(405) 评论(0) 推荐(0) 编辑

2017年11月25日

mysql java 类型对照 int

摘要: Java MySQL数据类型对照 类型名称 显示长度 数据库类型 JAVA类型 JDBC类型索引(int) 描述 VARCHAR L+N VARCHAR java.lang.String 12 CHAR N CHAR java.lang.String 1 BLOB L+N BLOB java.lan 阅读全文

posted @ 2017-11-25 17:06 Alex0111 阅读(457) 评论(0) 推荐(0) 编辑

2017年11月19日

crontab

摘要: Cron Format Cron format is a simple, yet powerful and flexible way to define time and frequency of various actions. nnCron make active use of cron for 阅读全文

posted @ 2017-11-19 21:44 Alex0111 阅读(213) 评论(0) 推荐(0) 编辑

2017年11月18日

Caused by: java.lang.IllegalArgumentException: Modifying queries can only use void or int/Integer as return type!

摘要: Caused by: java.lang.IllegalArgumentException: Modifying queries can only use void or int/Integer as return type! 阅读全文

posted @ 2017-11-18 15:45 Alex0111 阅读(1158) 评论(0) 推荐(0) 编辑

2017年11月17日

Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean

摘要: 其实是maven配置有问题,我把spring boot的内置容器干掉了,spring boot内置tomcat容器,我pom.xml是这样写的。 1 2 3 4 5 6 7 8 9 10 11 12 我的pom.xml把tomcat容器干掉了,然后我又没有什么容器能够运行,所以会报错。 我只需要使用 阅读全文

posted @ 2017-11-17 18:29 Alex0111 阅读(593) 评论(0) 推荐(0) 编辑

Spring boot ---- java.lang.NoClassDefFoundError: javax/servlet/ServletContext

摘要: Spring boot java.lang.NoClassDefFoundError: javax/servlet/ServletContext 场景描述 项目中用到spring boot进行带页面的开发,从github上的simples中下载了对应的spring-boot-sample-web-j 阅读全文

posted @ 2017-11-17 18:19 Alex0111 阅读(2617) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 ··· 21 下一页

导航