Machine Learning Practical Learning Notes 4 - Predictive Numeric Data: Regression

A General Method of Regression (1) Data collection: data can be collected in any way (2) Preparing data: Regression requires numerical data, nominal data will be converted into binary data. (3) Analysis of data: Drawing a visualized two-dimensional graph of data will help to understand and analy ...

Posted on Tue, 23 Jul 2019 22:35:50 -0700 by drucifer

Web Socket Creates Simple Chat Room

webSocket Some configurations Brief description of information exchange process Need dependence Developing with annotations Establish a connection Realize broadcasting Client delivers information to server Server receives client information Environmental Science: spring4.0 jdk1.8 Some config ...

Posted on Tue, 23 Jul 2019 02:14:42 -0700 by imaprogramur

Principle and Implementation Code of Exchange Matching Engine

Matching/Trading Engine (Matching/Trading Engine), as its name implies, is a software for matching transactions, which is widely used in finance, securities, encrypted currency transactions and other fields. The trading engine manages all Open Orders in the encrypted asset market and automatically executes transactions when a matching pair of o ...

Posted on Mon, 22 Jul 2019 07:50:04 -0700 by shan111

Integrating swagger-ui into spring book project

1. Adding dependencies <!--SpringBoot integration Swagger-ui--> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </dependency> <!-- ...

Posted on Mon, 22 Jul 2019 03:17:29 -0700 by geo3d

Encapsulating some useful methods

1. Enter a value and return its data type function type(para) { return Object.prototype.toString.call(para) } 2. Array de-weighting function unique1(arr) { return [...new Set(arr)] } function unique2(arr) { var obj = {}; return arr.filter(ele => { if (!obj[ele]) { obj[ele] = true; return true; ...

Posted on Sun, 21 Jul 2019 20:34:41 -0700 by neo777ph

One of the most complete spring annotations in history

Links to the original text: http://www.cnblogs.com/yansjhere/p/11005460.html Annotation is a good thing, but good things we have seen, sorted out, understood, used before we know good. Do not ask each of us to remember, but to keep an i ...

Posted on Sat, 20 Jul 2019 21:19:52 -0700 by phigga

js-cookie source learning

This article was originally published on my own website. js-cookie library source code learning background Recently, when working on a project, the front-end login function has to do a password-remembering function. But this function is not implemented in the development framework, so I want to implement this function myself. In fact, it is ver ...

Posted on Sat, 20 Jul 2019 03:05:45 -0700 by sethcox

python's Network Programming Package

I. Sticking Pack Sticking phenomenon # Server import socket import subprocess phone = socket.socket() phone.bind(('127.0.0.1',8888)) phone.listen(5) while 1: conn,addr = phone.accept() while 1: cmd = conn.recv(1024) ret = subprocess.Popen(cmd.decode('utf-8'), shell=True, ...

Posted on Sat, 20 Jul 2019 00:42:58 -0700 by nashsaint

Loading the Report of Listed Companies on the Stock Exchange in Batch

Listed Companies Report Search Page on the Shanghai Stock Exchange http://www.sse.com.cn/disclosure/listedinfo/announcement/ By looking at the interface invoked on the page, you can see that: Get all the stock codes on the Shanghai Stock Exchange http://www.sse.com.cn/js/common/ssesuggestdata.js Get ...

Posted on Fri, 19 Jul 2019 20:36:56 -0700 by samrat_php

[weex] For the first time, the environment under weex windows was built into the first complete app

Install Node.js node.js requires 4.0+ Download Address on Official Website https://nodejs.org/en/ Installation Tutorial See Here node.js Installation Diagram Install weex-toolkit After installing node.js, open the CMD tool and install weex-toolkit, which is the integrated environment of weex. With weex-toolkit, you can use the weex ...

Posted on Mon, 15 Jul 2019 16:16:16 -0700 by coreyk67