Review the recent videos and forget them
Chapter I
1. Output function print
#You can output numbers
print(520)
print(58.5)
#Output string
print('hello world')
#Expression with operator
print('3+1')
print("hello")
print(3+1)
#Export data to a file
fp=open('D:/text.txt','a+')
print('hello world',file=fp)
fp.close
a=open('D:/text2.txt','a+')#If the file does not exist, it will be crea ...
Added by mass on Tue, 18 Jan 2022 01:39:26 +0200
[Python's pymysql library learning] 2 Relevant knowledge of cursor (nanny level graphics and text + implementation code)
Welcome to pay attention "pymysql library learning of Python" series , continuously updating Welcome to pay attention "pymysql library learning of Python" series , continuously updating
Data type read
Effect of converting read data to dictionary type
General reading effect
Implementation idea of converting r ...
Added by DjSiXpAcK14 on Mon, 17 Jan 2022 23:20:17 +0200
How to play with automated testing framework? Who is your only one?
catalogue
Preliminary study on Framework
Python
Robot Framework
Demo
Unittest
Demo
Nose2
Demo
Pytest
Demo1
Demo2
Frame selection
Python
Robot Framework
Unittest
Nose2
Pytest
summary
Pythonβ
Python's unique advantages have created a series of test frameworks. In front of these test frameworks, which is better or ...
Added by marginalboy on Mon, 17 Jan 2022 21:48:35 +0200
Summary of the most complete Python machine learning and deep learning library in Station C (containing a large number of examples, recommended Collection)
preface
At present, with the popularity of artificial intelligence, it has attracted the attention of many industries to artificial intelligence. At the same time, it has also ushered in waves of artificial intelligence learning upsurge. Although the principles behind artificial intelligence can not be introduced in detail in a short artic ...
Added by nologin666 on Mon, 17 Jan 2022 20:41:00 +0200
Memory puzzle design and complete code
Original address: http://inventwithpython.com/pygame/chapter3.html
Memory puzzle
How to play memory puzzles
In the Memory Puzzle game, several icons are covered with white boxes. Each icon has two. Players can click on both boxes to see the icons behind them. If the icons match, the boxes remain uncovered. When all the boxes on the chessbo ...
Added by jonnypixel on Mon, 17 Jan 2022 20:15:31 +0200
day5 - loop exercises and lists
Python list
1. What is a list
β What does a list look like: a list is a container data type (sequence); Take [] as the flag of the container, in which multiple elements are separated by commas: [element 1, element 2, element 3,...] β‘ Characteristics of list: the list is variable (the number, value and order of elements are variable) - add, de ...
Added by softnmedia on Mon, 17 Jan 2022 19:36:14 +0200
[character recognition applet] it can quickly recognize characters. It is a treasure artifact that can no longer be separated from when it is used ~ (i.e. the peak is permanently free)
preface
hello everyone! I'm classmate pear!
I hope you can support me! ha-ha
To thank everyone who cares about me: π The project source code of each article is shared free of charge πππππ
Click here for the blue font. What source code do you need? Remember to say the title and name! I can also write private letters!
Xiaobian h ...
Added by mapleshilc on Mon, 17 Jan 2022 19:21:49 +0200
How does the deep learning framework do operator alignment tasks gracefully?
0x0. preface
I answered the question about how to contribute to PyTorch before. See the original post: https://www.zhihu.com/question/502301777/answer/2248950419 . The answer mentioned that when some operators were developed in OneFlow last year, some bug s of PyTorch operators were found based on the operator AutoTest framework, and feedba ...
Added by software4 on Mon, 17 Jan 2022 18:16:07 +0200
Chapter 2, sections 2 and 3 data reconstruction
Before you start, import numpy and pandas.
Β
import numpy as np
import pandas as pd
Load all the data in the data folder and observe the relationship between the data.
trlu = pd.read_csv('C://Users/22774/Desktop/data/train-left-up.csv')
trru = pd.read_csv('C://Users/22774/Desktop/data/train-right-up.csv')
trld = pd.read_csv('C://Users/227 ...
Added by SteveMT on Mon, 17 Jan 2022 16:37:05 +0200
Self learning neural network series -- improvement of 6 optimization algorithm
6.1 parameter update
SGDMomentumAdaGradAdam
6.1.1 SGD
Simple but possibly inefficient, e.g. f = 0.05x2+y2Gradient direction: may not point to the lowest pointLocal minimum and global minimum`
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
import numpy as np
def f(x,y):
return np.power(x,2)/20 + np.power(y, ...
Added by somenoise on Mon, 17 Jan 2022 15:49:57 +0200