[reading notes] only simple but not in-depth data analysis (10)
This chapter is a continuation of the previous chapter. This chapter is mainly about regression problem. It designs a "salary increase calculator", which is a salary increase algorithm.
Here is still the data. First, let's make a histogram of the requirements and results of the salary raiser:
import pandas as pd
imp ...
Posted by kparish on Mon, 30 Dec 2019 23:10:32 -0800
Imitation wechat, QQ chat expression pop up at the bottom
Some time ago, I learned the View slide and the use of the Scroller. It happens that there is chat function in the project, which is implemented in imitation of QQ chat. As the saying goes: good memory is better than scribbling. Today, we will practice.
Realization effect
No picture say a xx, let's take a look at the rende ...
Posted by davestewart on Mon, 30 Dec 2019 21:54:01 -0800
Analysis of c/c++ lambda expression
Analysis of lambda expression
Big premise: capture the timing of variables in the list.
There is a difference between the capture list and the parameter list. The variables in the capture list are determined at the time of capture, not at the time of lambda call. The parameter list is determined at the time of call. So when I capture an int i ...
Posted by markmil2002 on Mon, 30 Dec 2019 12:14:05 -0800
Usage of five basic types of redis
redis storage format
We all know the storage types supported by redis (String/List/Hash/Set/SortedSet), but not necessarily used in our work. I hope that through this article, we can know how to use redis in java and how to operate these data types by redis.
Basic Usage
Operate on redis through jedis (the Java client that ...
Posted by Rushyo on Sat, 28 Dec 2019 09:10:58 -0800
From the beginning of Python learning episod 6 -- string operation
String operation
1, Output duplicate string
print('smile'*6)
#Output 6 smile s
2, Output part of string through index
print('smile'[1:])
print('smile'[1:3])
#output
#mile
#mi
#ims
This is the same as the previous list slicing rules.
3, Checking string contents with in
a = 'Tomorrow will be a better day. '
print('day' in a)
print('zzz ...
Posted by bogdan on Sat, 28 Dec 2019 08:45:50 -0800
Advanced Functional Testing in Testing Using Docker in SpringBoot
Recently, I have learned a lot of new knowledge. Thank you for your excellent teacher's detailed explanation. This blog records what I think.
Want to learn more about functional testing in the Spring Boot project?This article takes you to learn more about using the Docker container in testing.
This article focuses on applying some best practice ...
Posted by garygay on Sat, 28 Dec 2019 02:30:12 -0800
Playing with js -- the simulation implementation of new method
The role of new is known
1. The instance can access the properties and methods of the constructor
2. The instance can access the properties and methods in the constructor prototype
//demo:
function Person(name, age) {
this.name = name
this.age = age
}
Person.prototype.sayName = function () {
console.log("this.name:",this.name)
}
const ...
Posted by zulubanshee on Tue, 24 Dec 2019 12:26:16 -0800
c+++ Inherited Learning
Basic concepts of inheritance
Inheritance and Derivation
Inheritance concept
Comprehensive Training of Access Control of Derived Classes (Inherit Three Ways, Class Three Access Control, Three Look Principles)
Constructions and Destructions in Inheritance
Type Compatibility Principle
Constructions and Destructions in Inheritance
Processing me ...
Posted by garrywinkler on Sat, 21 Dec 2019 17:03:31 -0800
Precise code formatting, fast style switching?All you need is SQL Prompt!
SQL Prompt not only formats the code exactly as you want, but also helps you quickly switch to other styles or apply exceptions to parts of SQL scripts that don't require specific styles.
SQL Prompt automatically retrieves object names, syntax, and code snippets from the database to provide users with appropriate code choices.Automatic script ...
Posted by Confessions on Sat, 21 Dec 2019 11:17:52 -0800
Request and upload files, Session introduction, Restful API, Nodemon
By Jeskson
Source: front end tavern of dada
Request and upload files
GET and POST requests
const express = require('express');
const app = express();
app.set('view', 'pug');
app.get('/', function(req,res){
// Output response message
req.send('hello')
});
app.get('/users/:gender', function(req,res){
// Get route parameters
let gender = ...
Posted by yodasan000 on Tue, 17 Dec 2019 21:59:38 -0800