Chapter 4: data analysis with python

This chapter focuses on the basics of NumPy. Because NumPy provides a very easy-to-use C language API, the data can be passed to the external class library written in the underlying language, and then the external class library will return the calculation results in the way of NumPy array. This feature ...

Posted by sun373 on Mon, 17 Feb 2020 10:52:15 +0100

Classic sort insert, hill, select, heap, bubble, fast, merge

Introduction of sorting When processing data, it is often necessary to search. In order to search quickly and accurately, the data to be processed is usually required to be arranged in order according to the size of key words, so as to adopt efficient search methods. Basic concept of sorting 1. rank ...

Posted by LoganK on Sun, 16 Feb 2020 09:12:02 +0100

MySQL query operation

Introduction to MySQL database Learning notes (2) Simple query SELECT column_name1, column_name2 FROM table_name; #select name,phone from person; SELECT * FROM table_name; #select * from person; * indicates all contents in the query table Conditional query where clause is required for condition q ...

Posted by the-hardy-kid on Sun, 16 Feb 2020 05:48:27 +0100

Four operations of large number and high precision

Four operations of large numbers High precision calculation means that the number involved in the operation is far beyond the range of standard data types, such as multiplication of two 1000 digits, which occurs frequently in algorithm competitions. In c or c + +, the maximum data type is only 64 bits ...

Posted by Renlok on Thu, 13 Feb 2020 15:36:55 +0100

YUV learning notes

YUV learning notes YUV Basic concepts YUV and RGB convert to each other Storage mode of YUV data Yuvplay view YUV image ffmpeg converting and viewing YUV image YUV Parser 1. Separate Y, U and V components in YUV420P pixel data 2. Separate Y, U and V components in YUV444P pixel data 3. Remove color ...

Posted by jcrocker on Wed, 12 Feb 2020 09:43:03 +0100

HDOJ ten day brush question c++

HDOJ10 day question sequence Four or five roads a day (1.1 represents the first road on the first day), from easy to difficult Let's share my results. They are all AC. please give me your opinion~ Article directory 1.1.HDOJ 1000 1.2.HDOJ 1089 1.3.HDOJ1096 1.4.HDOJ1001 1.5.HDOJ 2000 2.1 HDOJ 2001 2.2 ...

Posted by kevinkorb on Wed, 12 Feb 2020 08:47:19 +0100

Establishing the first neural network

Article Directory Relationship Fitting (Regression) Setting up datasets Establishing a neural network Distinguish types (classifications) Quick build Save Extraction Batch Training DataLoader Optimizer Relationship Fitting (Regression) Setting up datasets Create some fake data to simulate th ...

Posted by CookieDoh on Wed, 12 Feb 2020 04:07:52 +0100

[Vue] 6 - Options - filters, computed, watch, template, dynamic binding style (: class /: style)

Article directory 1.filters 2. Calculated calculation attribute 3. watch 4.template 5. Dynamic binding style : class = "object / array" : style = "object / array" 1.filters If there are two vue instances, one instance cannot get the method in the other instance. As follows ...

Posted by roxki on Tue, 11 Feb 2020 12:16:57 +0100

Details of Python 3 enumeration

1, Enumeration is actually a class It is recommended that the identification name be capitalized 1. Enumeration class: from enum import Enum class VIP(Enum):     YELLOW = 1     GREEN = 2     BLACK = 3     RED = 4 print(VIP.YELLOW) #VIP.YELLOW    #The concern is that its label is not a number 2 advantages of enumeration compa ...

Posted by vincent30000 on Mon, 10 Feb 2020 17:39:51 +0100

BigDecimal precise calculation tool class

Preface In the actual development, when encountering commercial calculation such as currency and statistics, the java.math.BigDecimal class is generally used for accurate calculation. And this kind of operation is usually predictable, that is, universal. So, write a tool class to facilitate future work. This is the warehouse address: Warehouse ...

Posted by vladj on Mon, 10 Feb 2020 14:06:47 +0100