Python. Page 8

Classification of epilepsy with keras - Python case

Catalog Introduction to epilepsy data set Keras deep learning case This sharing is published in public address for b...
1:50 2 February 2020

Machine learning practice -- naive Bayes method (code explanation)

Machine learning practice -- naive Bayes method ...
11:24 1 February 2020

Using selenium library to crawl data from JD's interface

Environmental needs python running environment Selenium Library (pip install selenium) Pyquery Library (pip install pyquery) pymongo (pip install pym...
7:25 1 February 2020

Basic usage of django2.0 models.py

ORM model Before writing the basic usage of models.py, let's first understand the disadvantages of our own writing of sql: As we write more and ...
2:29 1 February 2020

Tian Xiaohua Speech Robot is based on Python and implemented through Baidu API voice control stm32 single-chip computer light system

All code for this project has been uploaded to CSDN. Overview of system functions and features: Hardware: 1. Run speech recognition on your computer ...
23:31 31 January 2020

Python Learning Notes Day02

Article Directory variable Declare Variables Variable Naming Specification data type Six Types Number Type===Number Type Int Type===Integer Mode 1: D...
21:58 31 January 2020

python -- private property, inherited

Multiple inheritance # _*_ coding:utf-8 _*_ """ file: Multiple inheritance.py date: 2018-07_22 9:12 AM desc: """ # Mult...
20:02 31 January 2020

Python 3 conditional control, loop statement

Article directory if statement while Loop Infinite cycle while loop use else statement Simple statement group for statement Use break in for statemen...
17:42 31 January 2020

[Python 3 reptile] short comment on Douban's I'm not the God of Medicine

Tools: Python3+Pycharm+Chrome Modules used: (1) Requests: for simple data requests. (2) lxml: faster and stronger parsing library than BeautiSoup. (3)...
11:06 31 January 2020

Getting data from python's restful api (flask)

The Advanced Rest Client, an extension program of Google browser, is required for simulation request 1. Code directly 1 from flask import Flask 2 from...
9:43 31 January 2020

[Python] Python game--Airplane battle

1. Preface Today is the fourth day of the lunar new year. The Spring Festival when we are comfortable lying down at home is over. We are also startin...
22:00 28 January 2020

Analysis of Baidu Apollo Code: smoothing optimization in Open Space Planner

Hello everyone, I have moved the blog on CSDN to Zhihu. Welcome to pay attention to my column on Zhihu Slow carriage(https://zhuanlan.zhihu.com/c_113...
7:08 19 January 2020

Make "New Year's Eve Countdown" poster with python. Are you ready for the new year?

Yun Qi Hao: https://yqh.aliyun.comThe first-hand cloud information, the selected cloud enterprise case base of different industries, and the best prac...
4:48 18 January 2020

python learning notes hands on how to use native urllib to send network requests

example teaching urllib.urlopen(url[,data[,proxies]]) : https://docs.python.org/2/library/urllib.html The default library of network requests in pyth...
1:30 18 January 2020

Spark.ml -- Naive Bayes

Preface Naive Bayes classifier is a classifier with low variance and high deviation. It assumes that there is conditional independence between each f...
10:05 16 January 2020

Ubuntu startup script or command

Background In the development process, sometimes some sh scripts, python scripts, commands, etc. need to be executed automatically when the machine i...
9:41 16 January 2020

centos install LNMP environment

Article directory Install lnmp project deployment environment Installing the python environment Install mysql Install nginx Install redis redis boot ...
0:24 15 January 2020

Python basics summary (short notes)

Python is a cross platform computer programming language. It is an object-oriented dynamic type language. Notes include the basic skills of compiling ...
4:53 14 January 2020

Bash & Python processing application translation table for international import Excel into string.xml table

The company's business development must be internationalized. In the process of internationalization, the most headache is to write an internati...
4:13 14 January 2020

Slow code Python? Hands on how to speed up your code by 30%

Yun Qi Hao: https://yqh.aliyun.comThe first-hand cloud information, the selected cloud enterprise case base of different industries, and the best prac...
6:58 13 January 2020

What to do if php fails to call python

What if php fails to call python? Solutions to PHP's failure in calling Python Suppose there is a file: php_test.php python_test.py To run Python...
1:22 10 January 2020

Kubeflow series: analysis of kubeflow components

As a big gift package of machine learning based on cloud native, kubeflow can be used as a good example of cloud native learning. At the same time, t...
8:53 3 January 2020

20190110 - generate password and simple password strength check

1. Generate 9-letter password Using the random.choice function, this function requires a sequence, so a given sequence contains A-Z, A-Z #step1: Gener...
19:10 4 December 2019

V. custom converter, httprequest image alignment, HttpResponse, JsonRepons of view layer

I. virtual environment 1. Create with Python - > files - > new project - > select virtual environment 2 Settings > project creation 3. Cr...
17:57 4 December 2019

cookies and sessions components

Catalog Cookies and session s cookie introduction session Introduction token django operation cookie Set cookie Get cookie delete cookie Login authen...
17:39 4 December 2019

python(leetcode) - repeated element algorithm

leetcode primary algorithm Problem description Given an array of integers, determine whether there are duplicate elements. If any value appears in the...
17:13 4 December 2019

20190108 use of recursive function to realize the use of basic recursive functions such as finding the greatest common divisor

1. Given a = [1,2,[3,4,[5,6,7,[8,9,[10,11]]]], print output is required: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 Use the recursive function to traverse A. w...
13:08 4 December 2019

[Python learning] guess age through the while loop and for loop

Python can limit the number of guesses about age by using while and for loops 1. In the small program of guessing age, the code without loop is as fol...
12:55 4 December 2019

3 Python file operation

Python file operations open The file can be opened in whatever encoding mode the file is stored in f = open('d:\Model housewife nurse head teach...
10:29 4 December 2019

Python's C/C + + extension -- boost UU Python writing Python module

In the previous section, python uses ctypes to directly call dynamic libraries and uses Python's C language API to encapsulate C functions. This ...
7:32 4 December 2019