Machine learning - Data Science Library Day 3 - Notes

What is numpy A basic library for scientific calculation in Python, which focuses on numerical calculation. It is also the basic library of most Python scientific calculation libraries. It is mostly used to perform numerical operations on large and multi-dimensional arrays Axis In numpy, it can be understood as direction, which is expres ...

Added by wrequed on Tue, 15 Feb 2022 17:12:50 +0200

Initialization process of gstlibav

File directory structure of GST libav The core code of gstlibav is in the GST libav / ext / libav directory. The c files corresponding to the plugin are listed as follows: gst-libav/ext/libav ├── gstavauddec.c ├── gstavaudenc.c ├── gstav.c ├── gstavdemux.c ├── gstavmux.c ├── gstavprotocol.c ├── gstavutils.c ├── gstavviddec.c ├── gstavvidenc.c ...

Added by 10legit10quit on Tue, 15 Feb 2022 17:10:24 +0200

Stack containing min function (Sword finger Offer 30)

Title Description: define the data structure of the stack. Please implement a min function that can get the smallest element of the stack in this type. In this stack, the time complexity of calling min, push and pop is O(1). Problem solving ideas: push and pop methods belong to the basic methods in the stack; The min and top methods return the ...

Added by dapuxter on Tue, 15 Feb 2022 17:04:35 +0200

Combined design pattern

I. Introduction of models 1.1 definition Also known as part whole mode, it organizes a group of objects into a tree structure to represent a whole part hierarchy. Combination allows the client to unify the processing logic of single object and combined object. The client refers to the user of the code. The combination mode is generally used ...

Added by daniel a on Tue, 15 Feb 2022 16:33:38 +0200

Task03: complex query methods - views, subqueries, functions, etc. - Exercise

Exercises - Part 1 Exercise 1 Create a view that meets the following three conditions (the view name is ViewPractice5_1). Using the product table as the reference table, it is assumed that the table contains 8 rows of data in the initial state. Condition 1: the sales unit price is greater than or equal to 1000 yen.Condition 2: the registrati ...

Added by FezEvils on Tue, 15 Feb 2022 16:28:46 +0200

100 examples of C language topic exercises - topic + topic analysis + source code (71-80)

[Title 71] Title: write a function. When the input n is an even number, call the function to find 1 / 2 + 1 / 4 +... + 1/n. when the input n is an odd number, call the function 1 / 1 + 1 / 3 +... + 1/n (using pointer function). 1. Topic analysis: 2. The source code of the title is as follows: #include "stdio.h" #include "stdlib.h" double even ...

Added by djKale on Tue, 15 Feb 2022 16:25:40 +0200

JDBC(Java DataBase Connectivity)

JDBC(Java DataBase Connectivity) JDBC(Java DataBase Connectivity): a set of specifications (classes and interfaces) defined by sun company in order to simplify and unify Java database connection. JDBC is a standard Java API for database independent connection between Java programming language and database. Relationship between JDBC and ...

Added by greenhorn666 on Tue, 15 Feb 2022 16:16:03 +0200

java thread startup, security issues (atomicity, visibility)

Two ways to start threads psvm(){ /*Method 1*/ Thread t1 = new Thread(){ int num; @Override public void run() { //process } }; t1.start(); //It can only be started once t1.start(); //report errors!!! Thread t2 = new Thread(){ int num; @Override ...

Added by epimeth on Tue, 15 Feb 2022 16:15:40 +0200

Draw drawing process of UI drawing process

preface From the previous articles, we can know the measurement and layout of ui. This time, let's first pay attention to how our ui is drawn. So here we first need to understand the specific drawing process and the role of paint and Canvas in this process Drawing process In previous courses, we mentioned that performmeasure, performlayout a ...

Added by pneudralics on Tue, 15 Feb 2022 16:10:55 +0200

[tutorial] shardingjdbc distributed sequence

The only problem caused by fragmentation When the data of a table is divided into multiple tables, the unique primary key of a single table cannot be controlled through the database, because it is necessary to ensure the uniqueness of the primary key id of the same table in multiple real tables. Note: 5 X version and 4 The X version is sli ...

Added by alex.saidani on Tue, 15 Feb 2022 16:10:09 +0200