Univariate linear regression example and gradient descent application and summary of recent learning knowledge points learning notes on January 16
catalogue
linear regression
Univariate linear regression
loss function
gradient descent
Find the linear regression function by gradient descent:
Several important concepts (about data processing)
Several common libraries:
linear regression
Linear regression is a statistical analysis method that uses regression analysis in mathem ...
Added by b0gner17 on Mon, 24 Jan 2022 16:41:12 +0200
Writing blockchain from 0: explain the basic principle of blockchain with python
It has been more than ten years since the birth of artificial intelligence and blockchain. When these technologies appear, people say they will change the world, but so far, the impact of these two technologies on reality is still limited. Technically, the principle of artificial intelligence is to find rules or patterns from a large amount of ...
Added by Paul15679 on Mon, 24 Jan 2022 16:25:56 +0200
Use CodeMirror to build the IDE used by data scientists
1. Introduction to codemirrorCodeMirror is a general text editor implemented with JavaScript. It is specially used for code editing. It has built-in multiple development language modes and plug-ins, and supports code highlighting, automatic completion, search, shortcut keys, etc.CodeMirror is an open source project licensed by MIT. At present, ...
Added by keyur.delhi on Mon, 24 Jan 2022 12:50:48 +0200
Balanced Binary Tree*
balanced binary tree
Balanced Binary Tree is also known as AVL tree. _Definition: An AVL tree is a binary lookup tree in which the balance factor for each node (defined as the height difference between the left and right subtrees of the node) is either zero or +1 or -1 (the height of an empty tree is defined as -1, although the ...
Added by han2754 on Mon, 24 Jan 2022 11:37:01 +0200
Reconstructed binary tree + output (sequence traversal, other traversal)
1, Question type
The input is two one-dimensional arrays, representing the pre / middle / post order traversal and pre / middle / post order traversal results of the tree respectively, and the output is the output binary tree or sequence traversal or others.
2, Classification
1. Input: pre sequence + middle sequence} output
2. Input: ...
Added by fireice87 on Mon, 24 Jan 2022 10:01:32 +0200
Acwing - basic algorithm Course - Notes
Search and graph theory (2)
This section is about the shortest path.
The most common short circuit problems are generally divided into two categories:
Single source shortest circuitMulti source sink shortest path
In the shortest path problem, the source point is the starting point and the sink point is the end point.
Single source shor ...
Added by smonsivaes on Mon, 24 Jan 2022 02:42:23 +0200
[sword finger Offer 39. Numbers that appear more than half in the array]
Title Description:
Source: LeetCode Link: https://leetcode-cn.com/problems/shu-zu-zhong-chu-xian-ci-shu-chao-guo-yi-ban-de-shu-zi-lcof/
A number in the array appears more than half the length of the array. Please find out this number.You can assume that the array is non empty and that there are always many elements in a given array. ...
Added by nashyboy on Mon, 24 Jan 2022 02:25:33 +0200
AcWing basic algorithm
AcWing basic algorithm (I)
Quick sort
subject
Give you a sequence of integers with length nn.
Please use quick sort to sort this sequence from small to large.
And output the ordered sequence in order.
Input format
The input consists of two lines. The first line contains the integer nn.
The second row contains nn integers (all integers a ...
Added by yaba on Sun, 23 Jan 2022 23:41:46 +0200
Kiner algorithm: hash table and bloom filter (hand tearing algorithm)
Guide to series of articles
Guide to series of articles
Open source project
All articles in this series will be included in GitHub for unified collection and management. Welcome ISSUE and Star.
GitHub portal: Kiner algorithm
preface
After understanding the underlying implementation principle of hash table, the design of hash function, the ...
Added by irishprogrammin on Sun, 23 Jan 2022 17:17:54 +0200
ISP-BLC(Black Level Correction)
ISP-BLC(Black Level Correction)
Causes of BL
dark current
Dark current, also known as non illumination current, refers to the current flowing in the light receiving elements of solar cells, photodiodes, photoconductive elements, photocells, etc. without light irradiation, which is generally caused by carrier diffusion or internal defects of ...
Added by nahydy on Sun, 23 Jan 2022 06:17:12 +0200