08 2017 档案
摘要:使用Spring Boot时,默认情况下,配置DataSource非常容易。Spring Boot会自动为我们配置好一个DataSource。 如果在application.yml中指定了spring.datasource的相关配置,Spring Boot就会使用该配置创建一个DataSource。
阅读全文
摘要:If you are getting "too many connections" errors in MySQL you can change the max_connections setting to allow more connections, assuming you have enou
阅读全文
摘要:交叉验证(CrossValidation)方法思想 以下简称交叉验证(Cross Validation)为CV.CV是用来验证分类器的性能一种统计分析方法,基本思想是把在某种意义下将原始数据(dataset)进行分组,一部分做为训练集(train set),另一部分做为验证集(validation
阅读全文
摘要:Parameters cheat-sheet The following list presents the full set of parameters used to tune XGBoost algorithm. Use it as a cheat-sheet while experiment
阅读全文
摘要:转自 https://www.tianmaying.com/tutorial/GCC 1. GCC介绍 GCC(GNU Compiler Collection,GNU编译器套件),是由 GNU 开发的编程语言编译器。它是以GPL许可证所发行的自由软件,也是 GNU计划的关键部分。GCC原本作为GNU
阅读全文
摘要:1 搜索头文件 头文件的搜索顺序是: 但是如果装gcc的时候,是有给定的prefix的话,那么就是 2 搜索静态库 3 运行时搜索动态库 动态库链接时、执行时搜索路径顺序 大家可以看到/etc/ld.so.conf这个配置文件中制定了动态库搜索路径,如下图所示,主要包含了/etc/ld.so.con
阅读全文
摘要:众所周知,Linux动态库的默认搜索路径是/lib和/usr/lib。动态库被创建后,一般都复制到这两个目录中。当程序执行时需要某动态库,并且该 动 态库还未加载到内存中,则系统会自动到这两个默认搜索路径中去查找相应的动态库文件,然后加载该文件到内存中,这样程序就可以使用该动态库中的函数,以及 该动
阅读全文
摘要:There are several ways to make it possible for the Java runtime to find and load a native shared library (.so) at runtime. I will list them briefly he
阅读全文
摘要:Netflix tracks CPU Steal Time closely. In fact, if steal time exceeds their chosen threshold, they shut down the virtual machine and restart on a diff
阅读全文
摘要:from http://slowman.iteye.com/blog/722602 题目: 表一: 澳大利亚野兔眼睛晶状体重量与年龄的对应关系 编号 年龄(天) 重量(mg) 年龄(天) 重量(mg) 年龄(天) 重量(mg) 年龄(天) 重量(mg) 1 2 3 4 5 6 7 8 9 10 11
阅读全文
摘要:from https://www.codeproject.com/Articles/85487/Benchmarking-and-Comparing-Encog-Neuroph-and-JOONE Introduction In this article, I will benchmark Neur
阅读全文
摘要:From http://blog.csdn.net/csj941227/article/details/73325695 2、数据类 [java] view plain copy import java.util.Arrays; public class Data { double[] vector
阅读全文