QA Official

Oracle Tree Statistics-Child Nodes Aggregated to Parent Nodes

https://qaofficial.com/post/2019/04/27/73544-oracle-tree-statistics-child-nodes-aggregated-to-parent-nodes.html 2019-04-27
Initial tree data state:|--2(0)--4(100)0--1(0)--| |--3(0)--5(200) Summarized Tree Data Status:|--2(100)--4(100)0--1(300)--||--3(200)--5(200)create table t(id number,parent_id number,value number);insert into t values(1,0,0);insert into t values(2,1,0);insert into t values(3,1,0);insert into t values(4,2,100);insert into t values(5,3,200);commit;SQL> select * from t order by id asc;ID PARENT_ID VALUE---- ---------- ----------1 0 02 1 03 1 04 2 100 5 3 200 SQL> with ttt as (select t.*,SYS_CONNECT_BY_PATH(id,'/')||'/' pathfrom t start with t.parent_id=0 connect by prior t.

R language convesio of jsonfiles to csv or rdatformat

https://qaofficial.com/post/2019/04/27/73501-r-language-convesio-of-jsonfiles-to-csv-or-rdatformat.html 2019-04-27
library(RJSONIO) url<- "path/yelp_academic_dataset_business.json"con = file(url, "r")input <- readLines(con, -1L)my_results <- lapply(X=input,fromJSON)

ResNet Interpretation

https://qaofficial.com/post/2019/04/27/73472-resnet-interpretation.html 2019-04-27
目前看到的最好的Resnet解读 http://www.cnblogs.com/alanma/p/6877166.html

ResNet Realize 150-Layer deep neural network Image Recognition

https://qaofficial.com/post/2019/04/27/73332-resnet-realize-150-layer-deep-neural-network-image-recognition.html 2019-04-27
The traditional neural network is difficult to do very deep, because gradient explosion or gradient disappearance will occur, resulting in difficult convergence. ResNet has some "shortcuts" in each layer, which makes it possible to do many layers. In this paper, a 150-layer neural network is implemented to recognize gesture images, and the training time is acceptable. Data Set Download Address: http://pan.baidu.com/s/1bpo8DEv The program can only be run after downloading the

ThreadPoolTaskExecutor Use Details

https://qaofficial.com/post/2019/04/27/73568-threadpooltaskexecutor-use-details.html 2019-04-27
ThreadPoolTaskExecutor is used for concurrent or asynchronous operations.Now let's take a look at thread pools. /*** *@Auth dzb *@Date 22:29 2018/8/29 *@Description: 线程池 *@Version 1.0 */ @Configuration public class AsynTaskExecutePool implements AsyncConfigurer { @Override public Executor getAsyncExecutor() { ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor(); executor.setCorePoolSize(

Ubuntu 16.04 Unable to Install Third Party deb Software Solution

https://qaofficial.com/post/2019/04/27/73475-ubuntu-16.04-unable-to-install-third-party-deb-software-solution.html 2019-04-27
Solution Referred to Wind-Like Programmers Ubuntu 16.04 comes with a software center that is probably problematic. The third player software is rarely installed successfully and the solution is relatively simple. Let's change to a software management tool. first, we install gdebi. sudo apt install gdebi-core 安装好gdebi以后,从终端进入到待安装软件包所在

controller cannot get the value configured by @Value-spring parent-child container

https://qaofficial.com/post/2019/04/27/73732-controller-cannot-get-the-value-configured-by-value-spring-parent-child-container.html 2019-04-27
In the controller, the @Value annotation cannot get the value, but the ${key} string is directly output. Reason: the project is configured only in applicationContext.xml and not in spring-mvc.xml Resolution: corresponding container scans configuration files written with property or the parent container is injected to obtain the attribute, and getter and setter methods are provided to the outside, and the child container is obtained through the getter method analysis:

scikit-learn chinese document cross-validation-unsupervised learning | apachcn

https://qaofficial.com/post/2019/04/27/73846-scikit-learn-chinese-document-cross-validation-unsupervised-learning-apachcn.html 2019-04-27
chinese document: http://sklearn.Apache cn.org/cn/stable/modules/cross _ validation.html english document: http://sklearn.Apache cn.org/en/stable/modules/cross _ validation.html Official Document: http://scikit-learn.org/stable/ github: https://github.com/apachecn/scikit-learn-doc-zhStar, we have been working hard) Contributor: https://github.com/apachecn/scikit-learn-doc-zh# Contributor About Us: http://www.apachecn.org/organization/209.html Note: This document is being translated...

scikit-learn learning 3.1. cross-validation: evaluating estimator performance

https://qaofficial.com/post/2019/04/27/73863-scikit-learn-learning-3.1.-cross-validation-evaluating-estimator-performance.html 2019-04-27
Learning the parameters of the prediction function on one data set and testing on the same data set is a wrong method: because a model only repeats the labels of the samples that have just been trained, the result is very high in this case, but it is impossible to predict when encountering samples that have not been trained.This is called overfitting.In order to avoid over-fitting, a common practice is to keep some samples as test sets (X_test, y_test) when conducting a (supervised) machine learning experiment.

【Scikit-Learn Chinese Document] Cross Validation-Model Selection and Evaluation-User Guide | ApacheCN

https://qaofficial.com/post/2019/04/27/73838-scikit-learn-chinese-document-cross-validation-model-selection-and-evaluation-user-guide-apachecn.html 2019-04-27
chinese document: http://sklearn.Apache cn.org/cn/stable/modules/cross _ validation.html english document: http://sklearn.Apache cn.org/en/stable/modules/cross _ validation.html Official Document: http://scikit-learn.org/stable/ github: https://github.com/apachecn/scikit-learn-doc-zhStar, we have been working hard) Contributor: https://github.com/apachecn/scikit-learn-doc-zh# Contributor About Us: http://www.apachecn.org/organization/209.html Note: This document is being translated...