[python Programming] - Summary of knowledge points in the introductory series

The first three articles of this blog: a detailed summary and introduction of the knowledge points of introductory Series 1, 2 and 3. 1. Method of creating two-dimensional matrix There are mainly the following: l1=[[0 for i in range(3)] for j in range(3)] for i in range(3): for j in range(3): l1[i][j]=i*j print(l1) l2=[[] for i ...

Posted by westmich on Fri, 17 Sep 2021 13:38:41 +0200

There were a few things going on on September 16, but try to keep a record of what you did (prefix tree, dictionary tree, deep pruning)

Today's daily question is Word Search 2 At first you want to try how much deep search you can do, and the result is over. class Solution: def findWords(self, board: List[List[str]], words: List[str]) -> List[str]: #Try it with a deep search first wordSet = set(words) direction= [(0,1),(0,-1),(1,0),(-1,0)] ...

Posted by Inkeye on Thu, 16 Sep 2021 20:13:49 +0200

Deep learning.22 practice of improving deep neural network

Three methods of initializing parameters First, download the data set and necessary files required for this practice. ( Download link )Put it in the project folder established below. Then open pycharm, create a new project called improved neural network, and then create a new python file called init.py. Three initialization methods are us ...

Posted by LanceT on Thu, 16 Sep 2021 19:23:55 +0200

Detailed steps for converting EXE file to pyfile exe - > pyc - > py (example)

Title Link:https://pan.baidu.com/s/1s9J89ppouArOR8XdCoG_ug Extraction Code: 7szc Get ready Or do you want to check the basics first? 64-bit shell-less static analysis Drag ida to look at the string but find many python functions So we can guess that this is a python file Then you need to restore the exe file to the py file Seeing this r ...

Posted by andreasb on Thu, 16 Sep 2021 18:06:29 +0200

Flash web development 1.5 web program and sending e-mail

preface: When we don't have a special background management platform, many types of applications need to remind administrators when specific events occur in the program, and the common communication method is e-mail, which is also the most stable way. The SMTP lib package in the Python standard library can be used to send e-mail in the fla ...

Posted by delickate on Thu, 16 Sep 2021 03:19:15 +0200

Classification using kNN algorithm python implementation

Ideas and steps of kNN algorithm The basic idea of kNN algorithm is as follows: Suppose there are n samples in the sample set, which have discrimination on m features, and they belong to one of 0 or 1 respectively. Suppose the eigenvector of the ith sample is ( a ...

Posted by phpcharan on Thu, 16 Sep 2021 02:17:28 +0200

September deep learning summary

1. Debug the program with breakpoints in pycharm to understand the logic of each line of code How to enable debug debugging: if name = = 'main': (referenced in the figure below) https://mp.weixin.qq.com/s/YNfoI-KbUg6jLaWUya-21g) The meaning of setting breakpoints: breakpoint debugging is actually that you mark a breakpoint at a certain place i ...

Posted by kelly3330 on Wed, 15 Sep 2021 23:30:50 +0200

Pyecarts mapping

        Recently, writing PPT needs the whole summary diagram. It's easier to find it in python. Don't talk more nonsense. Record your experience.   1, Initial simple picture Take Xinjiang as an example, because the plot map of Xinjiang is relatively irregular (is the name too long, the point too close, and I'm confuse ...

Posted by readourlines on Wed, 15 Sep 2021 19:35:52 +0200

Standard process of machine learning modeling for Python data analysis (data engineering + modeling parameter adjustment + model evaluation + whole process visualization)

Author CSDN: Sisyphus of the attack Link to this article: https://blog.csdn.net/qq_42216093/article/details/116994199 Copyright notice: This article is the author's original article. Reprint requires the consent of the author Nowadays, machine learning is hot, and Python is the most commonly used implementation of machine learning for ...

Posted by XxDeadmanxX on Tue, 14 Sep 2021 04:58:38 +0200

python - basic introduction exercise 02

  catalogue 1. Title: (Science: wind cold temperature) how cold is it outdoors? Temperature alone is not enough to provide an answer. Other factors: wind speed, relative temperature and light all have a great impact on the outdoor cold degree. Write a program to prompt the user to enter a temperature between - 58 ° F and 41 ° F and a ...

Posted by mikawhat on Sun, 12 Sep 2021 03:40:03 +0200