Hey, dare you come to a class!

The so-called people gather in groups and things divide in groups. People like to be with people who have the same personality and hobbies. Commonly known as: get along! Pretty boy, I like you very much~ A and B were childhood sweethearts. A met C through B and found that their interests and hobbies were surprisingly consistent. The three g ...

Posted by eRott on Sat, 19 Feb 2022 18:09:16 +0100

Several ways of cutting / Intercepting pictures in Python+opencv

preface In computer vision tasks, such as image classification, image data set is essential. The pictures collected by yourself often have a lot of noise or useless information, which will affect the model training. Therefore, the image needs to be cropped to prevent the useless information at the edge of the image from affecting the mod ...

Posted by jlive on Sat, 19 Feb 2022 16:52:33 +0100

Python List

Link to the video course "the art and Tao of Python Programming: an introduction to Python language": https://edu.csdn.net/course/detail/27845 Data types in Python Composite data type - Collections There are four Collection data types in the Python programming language: A list is an ordered and changeable Collection. Duplicate m ...

Posted by syed on Sat, 19 Feb 2022 16:28:49 +0100

Appium based on python crawls the consumption records of live broadcast of station b - where did you spend your money?

previously on Before station b, the web page data is crawled, which can be crawled by python requests and Selenium. However, the web version of live consumption data of station b cannot be displayed and can only be seen on the mobile phone, so this article is available. I read the article before that fiddler can also crawl, but I tried unsuc ...

Posted by joey3002 on Sat, 19 Feb 2022 16:17:27 +0100

Integrated learning - xgboost learning

XGboost related learning from xgboost import XGBRegressor as XGBR from sklearn.ensemble import RandomForestRegressor as RFR from sklearn.linear_model import LinearRegression as LinearR from sklearn.datasets import load_boston from sklearn.model_selection import KFold, cross_val_score as CVS, train_test_split as TTS from sklearn.metrics import ...

Posted by Sir Mildred Pierce on Sat, 19 Feb 2022 15:18:46 +0100

Poisson regression model for time series data

Poisson and Poisson like regression models are often used in count based data sets, that is, data containing integer counts. For example, the number of people entering the hospital emergency room per hour is such a data set. Linear or nonlinear models based on ordinary least squares regression (such as linear models based on neural network reg ...

Posted by The Bat on Sat, 19 Feb 2022 14:39:32 +0100

Redis distributed Session

Redis distributed Session Spring-Session Spring seesion solves the problem of sharing distributed session s. introduce Spring Session is one of the projects of spring. GitHub address: https://github.com/spring-pro. Spring Session provides a perfect solution for creating and managing servlet httpsessions. function spring Se ...

Posted by mattcass on Sat, 19 Feb 2022 14:21:56 +0100

Django realizes paging function

In this section, we will introduce the advanced modules provided by Django. Through the study of advanced modules, you will feel that Django is so easy to use, but at the same time it is very complex. Therefore, when learning such a heavy framework as Django, we must remember to be impatient and dare to explore new knowledge, In addition to fol ...

Posted by Motionographer on Sat, 19 Feb 2022 14:21:08 +0100

APScheduler of python third-party module - scheduled task

introduce The full name of APScheduler is Advanced Python Scheduler. It is a lightweight Python timing task scheduling framework. APScheduler supports three scheduling tasks: fixed time interval, fixed time point (date), and cronab command under Linux. At the same time, it also supports asynchronous execution and background execution of schedu ...

Posted by magic123 on Sat, 19 Feb 2022 13:23:48 +0100

14-2.18 circular lifting questions

Judge how many primes there are between 101-200 and output all primes. x = 0 for m in range(101, 201): for n in range(2, int(m ** 0.5) + 1): if m % n == 0: break elif n == int(m ** 0.5): print('Prime number:',m) x+=1 print(x) Find the cumulative value of integers 1 ~ 100, but it is requ ...

Posted by flashicon on Sat, 19 Feb 2022 12:40:31 +0100