#Mengxin log #1.Python script: the files are sent to the corresponding mailbox in batches according to the student number
Mengxin records his learning experience in some days.
preface:
The teacher sent me the corrected experimental report (. pdf) at noon. As a teacher assistant, I need to return each report to the corresponding students and register my grades. There are 5 + reports and ...
Posted by matthewst on Sun, 10 Oct 2021 05:09:25 -0700
Changjin lake, me and my parents, Python National Day film review analysis
Hello readers, I'm Xiao Zhang~
The National Day holiday ended yesterday. We also returned to our jobs and continued our efforts to move bricks (fishing) life
Since 19 years ago, a film with the theme of me and my * will be released every 11 days to celebrate the national day. According to the box office trend of the previous two years, the po ...
Posted by BeanoEFC on Sun, 10 Oct 2021 03:37:39 -0700
Learning regular expressions in python
regular expressions are powerful tools and techniques for string processing.
regular expression uses a predefined pattern to match a class of strings with common characteristics. It is mainly used to process strings. It can quickly and accurately complete complex search, replacement and other processing requirements. It has important appli ...
Posted by lesmith on Sun, 10 Oct 2021 00:47:21 -0700
Object oriented python
object
1. An object is a concrete existence created by a class and can be used directly 2. The object created by which class has the properties and methods defined in which class 3. The object is relative to the aircraft manufactured by the application drawing, and the drawing is a class 4. In development, there should be classes first and the ...
Posted by Dave3765 on Sun, 10 Oct 2021 00:09:35 -0700
Detailed tutorials on environment configuration and preparation required to run Bert for the first time. Bert runs the official model and tests it with MRPC dataset
Step 1 download the required
Download bert source code and model
First, we download the source code and official model of bert and go to the official website:
https://github.com/google-research/bert
Download the official website source code: Download the official model: &n ...
Posted by TRUCKIN on Sat, 09 Oct 2021 20:42:01 -0700
Divide and conquer algorithm (D&C)
summary
Divide and conquer (D & C) algorithm is a classical recursive method to solve problems. Divide and conquer is its main idea. Applicable scenarios: 1) Find the termination condition (baseline condition) and stop recursion. The simpler the condition, the better; 2) It can decompose the problem and continuously reduce the scale of the ...
Posted by gethinw on Sat, 09 Oct 2021 20:37:48 -0700
There are five ways to use scheduled jobs in Python
There are five ways to use scheduled jobs in Python
Most applications built today require some sort of scheduling mechanism. Polling API s or databases, constantly checking system health, archiving logs, etc. are common examples. Kubernetes and Apache Mesos And other software using auto scaling technology need to check the status of deployed ...
Posted by jackliu97 on Sat, 09 Oct 2021 18:52:44 -0700
Analysis and application of Apscheduler source code
Introduction to Apscheduler
Apscheduler is a relatively easy-to-use timing task framework in python. You can refer to the introduction and api Official documents
Concept description
Job task: defines the functions executed by scheduled tasks, function parameters, and task execution related configurations.Trigger: defines the trigger meth ...
Posted by ywickham on Sat, 09 Oct 2021 12:23:02 -0700
k-nearest neighbor algorithm for machine learning in real-world combat
1. KNN's Movie Classification
For a new movie, how do you tell if it's a love movie or an action movie? You can tell by the number of kisses or fights. Compare this movie with many already tagged movies, calculate the Euclidean distance between them, sort by distance, and find the shortest k (three below)And then see how many of these k are lo ...
Posted by TurtleDove on Sat, 09 Oct 2021 11:20:47 -0700
kNN algorithm for handwritten number recognition (machine learning)
Tip: After the article is written, the catalog can be generated automatically, how to generate the help document to the right
Article Directory
Preface1. EXPERIMENTAL STEPSII. EXPERIMENTAL PROCESS
1. Collect data: provide text files2. Preparing data: converting images to test vectors3. Test the algorithm: Recognize handwritten numbers ...
Posted by huhn_m on Sat, 09 Oct 2021 10:30:21 -0700