PyTorch deep learning practice lesson 11 convolutional neural network (advanced part) perception module handwritten numeral recognition

  Video link: The final collection of PyTorch deep learning practice_ Beep beep beep_ bilibili This secondary implementation is a more complex neural network. Although the model looks very complex, in order to reduce code redundancy and improve code reusability, we can define the neural network with the same structure as a class to improv ...

Posted by elpaisa on Sat, 20 Nov 2021 13:12:27 -0800

Python program development -- Chapter 9 exception handling

1, Abnormal Exceptions in python are implemented through classes. All exception classes inherit from the base class BaseException, which can be divided into four categories as follows: If the exception in the program is not handled, the exception will be passed to the upper level by default, which is the delivery of the exception. If the ...

Posted by jackohara on Sat, 20 Nov 2021 12:13:00 -0800

[introduction to machine learning] logistic regression algorithm: principle, accuracy rate, recall rate, example application (cancer case prediction) with complete python code and data set

Hello, everyone. Today I'd like to share with you the logical regression algorithm in python machine learning. The main contents include: (1) Algorithm principle; (2) Accuracy and recall; (3) Case application -- cancer case prediction. At the end of the paper, there are data sets and complete python code 1. Concept understanding Logistic r ...

Posted by Bmen on Sat, 20 Nov 2021 10:49:43 -0800

Python matplotlib drawing scatter diagram is not collected yet

Review review In previous issues, we learned about the matplotlib module. For the commonly used broken line chart reflecting data changes, we compared the histogram of data type differences and the histogram reflecting data frequency distribution. Quick view of content Super detailed Python matplotlib drawing histogram_ Simple programming bl ...

Posted by banned in dc on Sat, 20 Nov 2021 06:07:02 -0800

Network protocol packet capture analysis and introduction to crawler

1, Packet capture analysis of network protocol 1, Continue to practice wireshark grabbing network packets. Run the "crazy chat room" program on two or more computers (known IPv4 addresses) and capture packets through wireshark: 1) Analyze what protocol (TCP, UDP) and port number are used for network connection of this program? ...

Posted by rochakchauhan on Sat, 20 Nov 2021 05:49:10 -0800

Python 0 foundation - no failing at the end of the term

💖 Said 0 foundation, is 0 foundation, the Chinese do not cheat the Chinese 🤞Qiumingshan code people's home page🤞 🎉 Welcome to pay attention 🔎 give the thumbs-up 👍 Collection ⭐ Leave a message 📝 🙏 The author's level is very limited. If you find an error, you must inform the author in time 🤞 The selected content comes from rookie tutori ...

Posted by mark_c on Sat, 20 Nov 2021 05:47:40 -0800

OpenCV Python actual combat (part outside) - OpenCV realizes image cartoon

preface In blog Opencv Python practice (4) -- common OpenCV image processing technologies( ❤️ 10000 word long text, including a large number of examples ❤️)> As described in, you can apply CV2. Bilaterfilter () To reduce noise while retaining sharp edges. However, this filter will produce ladder effect and false edges in the filtered im ...

Posted by robin_percy on Sat, 20 Nov 2021 03:15:34 -0800

Automatically download HowNet journal files with Python and Selenium

I won't talk about the process of installing Python and Selenium. Let's go directly to the code below. The goal is to download all the documents (PDF format) of a certain issue of a journal on HowNet. Here with Educational research Take this journal as an example, Download all the documents in issue 5 of 2021. 1 download Chrome's Webdriver ...

Posted by velkymx on Sat, 20 Nov 2021 01:53:15 -0800

Python e-commerce platform shopping data analysis, overall sales analysis (line chart, pie chart analysis) source code download

Development environment: Development environment: Python 3 Tools: pandas, matplotlib.pyplot Data source: Data address: data set Data Description: a total of 28010 pieces of data occurred in one month were collected in this data set, Include the following: ['order number', 'total amount', 'buyer's actual payment amount', 'receiving address' ...

Posted by redgtsviper on Fri, 19 Nov 2021 23:18:42 -0800

Python: generating avatars with user nicknames

Python: generating avatars with user nicknames demand After a new user is created, a picture is generated according to the nickname entered by the user. (example: after registering the "nailing" user, the avatar is generated according to the entered name) development environment Windows 10Python 3.8Pillow 8.1.2 realization Snak ...

Posted by Plagel on Fri, 19 Nov 2021 22:01:23 -0800