Summarize django knowledge points

1. View functions: Request Object------------- request: 1,HttpRequest.body:) Request original data 2,HttpRequest.path:) A string representing the requested path component (without domain name)           3,HttpRequest.method             4,HttpRequest.GET           5,HttpRequest.POST           6,HttpRequest.FILES 7,HttpResquest.user:) An AUTH_U ...

Added by simon71 on Sun, 19 Jul 2020 17:54:28 +0300

Day 6: TensorFlow2 Model Subclassing API

Custom MLP model structure, 50 generations, total parameters 119690, Mnist test data set accuracy rate of 98%. For neural networks, May Be Paper is better than width. The custom MLP structure is as follows: import numpy as np import tensorflow as tf import os import shutil # mapping from matplotlib im ...

Added by Aphp73 on Tue, 30 Jun 2020 07:10:45 +0300

Python string_Detailed 3-end built-in function

The following method runs on python2 and uses python2 for encoding. After comparing python3, we find that it is basically the same, that is, after print, add (), which can be run under python3 by using functions. The method that works for unicode has been removed because it is temporarily unavailable and will be learned separately if needed in ...

Added by RockinPurdy on Mon, 29 Jun 2020 20:00:56 +0300

Python data analysis helps you clearly understand the efficiency and overall satisfaction of the employees

  preface The text and pictures of this article are from the Internet, only for learning and communication, and do not have any commercial use. The copyright belongs to the original author. If you have any questions, please contact us in time for handling. Project background 2018 is known as the winter year of the Internet. Companies, big and ...

Added by amar3d on Mon, 29 Jun 2020 09:51:49 +0300

90 lines of python code make wechat earth turn

1. Wechat earth When you open wechat, you will see a famous picture of Zhang Xiaolong standing on it. Have you ever thought about such a question, what would happen if the earth above turned? 2. Renderings 3. Material preparation Here we need to prepare three materials: 1. The material of the earth's surface; 2. The material of cloud map; 3. ...

Added by iceraider on Mon, 29 Jun 2020 07:41:22 +0300

Python's advanced approach: extracting official account background data and data visualization

The official account is rich in data statistics, but there may still be no statistical indicators that I want. For example official account official account is not high but the reading rate is very high. Can I draw a scatter map according to the reading rate of each article in my official account to sho ...

Added by kubis on Sat, 27 Jun 2020 10:23:27 +0300

[big data application technology] task 8: reptile integrated task

All requirements of this time come from: https://edu.cnblogs.com/campus/gzcc/GZCC-16SE2/homework/3075 preface This job is to crawl the information about python's relevant positions on the pull hook network. Through crawling the data such as position id, city, full name of the company, welfare treatment, work place, education requirements, wor ...

Added by jblallement on Sat, 27 Jun 2020 09:09:45 +0300

Metacharacters and grouping of python regular expressions

1, Regular expression 1.1 understanding of regular expressions and basic methods of regular use in python 1.1.1 understanding of regular expressions The pattern of a string consisting of two characters: normal text character and special character (metacharacter), . Metacharacters are of special signif ...

Added by orbitalnets on Sat, 27 Jun 2020 07:15:29 +0300

[Python basics] day6 - set

set It is the basic data type of python to combine different elements to form a set Properties of the collection: De duplication, a list programming set, will automatically de duplication Relation test: test the intersection, difference, union and other relations between two sets of data It d ...

Added by ddrummond on Fri, 26 Jun 2020 11:33:31 +0300

Basic method of data mining - probability and Statistics - 3. Common distribution and hypothesis test

1.1 common distribution distribution Probability or probability density Mean E(X) Variance D(X) Binomial distribution P(X=x)=Cnxpxqn−x P(X=x) = C_n^x p^x q^{n-x} P(X=x)=Cnx​pxqn−x npnpnp np(1−p)np(1-p)np(1−p) Poisson distribution P{X=i}=e−λλii! P\lbrace X= i \rbrace = e^{-λ} \frac{λ^i}{i!} P{ ...

Added by veluit06 on Fri, 26 Jun 2020 05:41:14 +0300