This repository will contain the source codes involved in my class.
In this task, we will talk about the environment building of python development and see through the essential of python programming.
A certimaker package done by Dr.Wu is pushed up to the pypi server and we weill import it to make certificate in one line by invoking this.
The basic knowledge of programming of any language is nothing but the basic concept and use of variable and flow control, which can be learned by a tiny game.
Function will make programming more abstractive and more readable by encapsulating lines of codes into one defined sentence of your own taste, thus making codes more consice.
A bunch of data can be stored in certain data structures, such as list, tuple, dictionary and set, which are four basic containers that can deal with the generated random names.
Using for loop and some of the built-in functions in native python interpreter, the classical conjecture raised by Goldbach can be proven using the coding technique.
Everything in python can be regarded as object, from the view of philosophy. Write your first class for Heros in the game Arena of Valor for the first step to Object Oriented Programming!
The headaching math problems you took in the exams can be easily soved by several lines of simple codes, the amazing stuff is done by a powerful package named sympy.
If you wanna use machines to complish the tedious jobs like counting the word number of a novel, python is like a swiss knife for these. It is a integrated application of variable, containers and file operations.
Reproducity is the most charming feature of programming. Apply the knowledge we have grasped in the basic course crash course of python and enjoy the efficiency of programming.
Recommend system can accurately guess what the user would like to order according to their history score compared with others. SVD decomposition can be used to speed up when caculating the similarity between differnt dishes.
Something like the Twenty-Eighty Law, the infomation in a picture can be abstracted by the most important components represented by the sigular values of matrix. So we can reduce the space one picture occupies by SVD based compression.
Given databases including books.csv, and to_read csv, we can get the hottest 50 books of DouBan by counting the number of people want to read them and visulize them.
In addition to the data given in Task 13, tags.csv and book_tags.csv are also given so that we can know what are the hottest tags to each book found in the previous task.
Taking linear regression as an example, we will show the progress of gradient descend algorithm by drawing the lines of each epoch using matplotlib.
It is such a classical example of machine learning for the book Prof. Zhou Zhihua published being the teaching material in a lot of Chinese universities. Let's do it with sklearn!