Project preparation of Mido Mall - project creation and configuration
1, Create project
The source code of Mido mall project is managed by remote warehouse.
1. Prepare project code warehouse
1. Source hosting website
Code cloud( https://gitee.com/) [domestic website, fast]
2. Create source code remote warehouse: meiduo_project
[add. idea to the ignore file. gitignore]
2. Clone project code ...
Posted by jlarson on Tue, 25 Jan 2022 23:09:44 +0100
Reptile Foundation_ urllib
Basic reptile learning notes
urllib Library
The urllib library is one of the most basic network request libraries in Python. It can simulate the behavior of the browser, send a request to the specified server, and save the data returned by the server.
1. urlopen function
In the urllib Library of Python 3, all methods related to network re ...
Posted by keithschm on Tue, 25 Jan 2022 21:31:25 +0100
Python deep learning: theoretical knowledge of machine learning, including the calculation of information entropy (reading notes)
In today's article, we are formally exposed to the theoretical basis of deep learning - machine learning
1, Machine learning classification
1. Based on subject classification Statistics, artificial intelligence, information theory, control theory 2. Classification based on learning patterns Inductive learning, explanatory learning and feed ...
Posted by ferdi on Tue, 25 Jan 2022 20:51:16 +0100
Auto Home Forum font anti climbing
In today's society, every family basically has a car. They basically go to the car home to check the detailed parameters of the car (css anti climbing, which will be introduced in the next article), go to the car home forum to express some opinions or look at other people's opinions (font anti climbing), So let's take a look at the font anti cr ...
Posted by toasty2 on Tue, 25 Jan 2022 20:25:31 +0100
python notes: tslearn (data part)
tslearn is a Python package that provides machine learning tools for analyzing time series. This package builds on (and therefore relies on) the scikit learn, numpy, and scipy libraries.
1 time series data format
Use to_time_series function to generate time series data
from tslearn.utils import to_time_series
time_series_lst=[1,3,5,7,9]
ti ...
Posted by erth on Tue, 25 Jan 2022 17:53:26 +0100
[Tensor data operation] reading notes of hands-on learning and deep learning
Tensor data operation
1. Tensor creation
# Import some common libraries
import torch
from IPython import display
from matplotlib import pyplot as plt
import numpy as np
import random
import torch.nn as nn
import torch.optim as optim # torch.optim module provides many common optimization algorithms, such as SGD, Adam and RMSProp.
from torc ...
Posted by gaugeboson on Tue, 25 Jan 2022 17:25:37 +0100
Code example of python fireworks effect | CSDN creation punch in
1, Overall concept combing
In this article, the code example of python fireworks effect is compiled for you. Friends who are interested in this can learn and refer to it.
Friends who knock code every day, have you ever thought that code can also become very cool and romantic? Today, I'll teach you to simulate the blooming firework ...
Posted by ksandom on Tue, 25 Jan 2022 15:16:23 +0100
Understanding and application of attributes in python
1, Built in properties
Using the built-in function dir, you can view all the properties and methods supported by an object. There are many built-in properties in Python.
__slots__
Python supports dynamic attributes. You can directly add attributes to an object through point syntax. The code is more flexible. However, in some cases, we may ne ...
Posted by freeak08 on Tue, 25 Jan 2022 13:36:27 +0100
[Python foundation -- program control statements and structures] overview and summary
1, Normal statement (sequential structure)
As the name suggests, sequential structure means that sentences are executed from top to bottom without control. It is not only the structure we use frequently, but also the basis for us to learn other structures.
#Sequential structure:
#Create int variable
x = 3
#Print the variable
print(x) #Res ...
Posted by NeilB on Tue, 25 Jan 2022 12:55:13 +0100
Python Http request asynchronous return (multithreaded)
preface
Sometimes we may encounter such a situation. We have a function that provides an http interface. We need to send a request to the http interface to start the service, but the service function may be executed for a long time. In this way, if the request result is returned after the function is executed, the request may timeout.
client ...
Posted by Richard Bowser on Tue, 25 Jan 2022 12:16:37 +0100