Three common hyperparametric tuning methods and codes
Super parameter optimization methods: grid search, random search, Bayesian Optimization (BO) and other algorithms.
reference material: Three super parameter optimization methods are explained in detail, as well as code implementation
Experimental basic code
import numpy as np
import pandas as pd
from lightgbm.sklearn import LGBMRegr ...
Added by JOWP on Mon, 07 Feb 2022 20:20:17 +0200
03Python Syntax - Basic Data Type
Preface
Variables are designed to enable computers to remember a certain state of things like people. The value of variables is used to store the state of things. It is obvious that the state of things can be divided into different kinds (such as people's age, height, position, salary, and so on), so variable values should also have differ ...
Added by winkhere on Mon, 07 Feb 2022 19:29:47 +0200
web of automated testing - Fundamentals
1, Environmental preparation
1.1 drive installation
The plug-in and operation file used in this article: extract password: 02q3 Baidu cloud
1.1.1 chrome driver
Download address: click here Under Windows system, pay attention to the correspondence between the version of chrome browser and the version of chromedriver Exe is copied to the ...
Added by marian on Mon, 07 Feb 2022 14:46:57 +0200
python learning notes
Connected to python learning notes (2)
1, Object oriented Foundation
1. Object oriented understanding
Object oriented is to regard programming as a thing. For the outside world, things are used directly, regardless of their internal situation. Programming is to set what things can do. Object oriented is used to simplify code
2. Clas ...
Added by regoch on Mon, 07 Feb 2022 14:28:15 +0200
Common Python modules
WeChat official account is searching for the program yuan Xiaozhuang. It pays attention to how to develop a family breadwinner by python.
preface
When developing with Python, we often use different modules to help us complete the implementation of some functions. Therefore, mastering the common methods of some common modules can help us spe ...
Added by xydra on Mon, 07 Feb 2022 13:23:04 +0200
Shallow in deep out Python decorator [super detailed content + rich sample code]
When we use a flash like framework, we must have come across such code:
@app.route('/')
def index():
return '<h1>Hello World!</h1>'
Here's @ app Route () is the syntax sugar of the modifier. As for the modifier of Python, I believe many people know its existence and usage like me, but they don't have a deep understanding.
This ...
Added by kippy on Mon, 07 Feb 2022 11:32:47 +0200
Opencv Python tutorial: drawing lines, circles, and squares
Original link: http://www.juzicode.com/archives/5323
Return to opencv Python tutorial
Because the drawing operation requires parameters such as the coordinates of the starting point and the ending point, it is necessary to understand the coordinate representation method of the image pixel position in OpenCV before drawing. Generally, the Cart ...
Added by DemonMaestro on Mon, 07 Feb 2022 10:49:31 +0200
1 line of code climb CSDN hot list, Python ha beer style writing
Eraser, a funny senior Internet bug
Project background
Group Friends: sister wipe, how many lines of code can CSDN hot list data climb at least? Sister wipe: it's estimated to be 10. Group Friends: oh baby, show me your code!
This is how the project needs to climb the CSDN hot list with the least number of lines of code.
The import module ...
Added by J@ystick_FI on Mon, 07 Feb 2022 10:09:55 +0200
Use of process Pool in combination with Queue queue in Manager
Process Pool:
When the number of sub processes to be created is small, you can directly use the Process in multiprocessing to dynamically generate multiple processes, but if it is hundreds of Process goals, the workload of manual creation will be very huge. At this time, you can use the Pool class in the multiprocessing module.
When initializ ...
Added by PowersWithin on Mon, 07 Feb 2022 08:51:23 +0200
[reptile actual combat case 1] simple implementation of reptile requirements based on BeautifulSoup+Re+Pandas
Foreword
Share a case of using some crawler technology to simply crawl articles from media web pages on demand and save them to the local designated folder for reference only. In the learning process, do not visit the website frequently and cause web page paralysis. Do what you can!!!
Simple use of beautiful soup: https://inganxu.blog.csdn.ne ...
Added by stiduck on Mon, 07 Feb 2022 01:22:27 +0200