## Artificial intelligence ② -- logical regression and iris set

Catalogue
I Manual push to achieve logistic regression gradient descent
II Classification of iris data set by logistic regression
1. Introduction to iris data set
2. What is a linear classifier
3. Main steps of designing linear classifier
4. Rough defin ...

Added by **goltoof** on *Sun, 16 Jan 2022 16:57:05 +0200*

## leetcode brush questions / daily questions 138 Copy linked list with random pointer

138. Copy linked list with random pointer
Meaning:
Give you a linked list with a length of n. each node contains an additional random pointer random, which can point to any node or empty node in the linked list.
Construct a deep copy of this linked list. The deep copy should consist of exactly n new nodes, in which the value of each new ...

Added by **MasumX** on *Sun, 16 Jan 2022 16:32:11 +0200*

## 202106C language level 2 true question

Digital amplification Given an integer sequence and magnification x, each integer in the sequence is amplified by x times and output.
Time limit: 1000 Memory limit: 65536 input It contains three lines: the first line N represents the length of the integer sequence (N ≤ 100); The second line is N integers (not exceeding the integer range), ...

Added by **james19** on *Sun, 16 Jan 2022 15:47:28 +0200*

## Raking consistency Hash algorithm + Java version case demonstration

title: consistency Hash algorithm and Java implementation date: 2022/1/15 15:15:30
Application fields of consistent Hash algorithm
For the consistent Hash algorithm, we can see its shadow in many places:
RedisNginxDubboElasticSearchHadoopDistributed databaseOther distributed data storage scenarios
Explain consistency Hash algorit ...

Added by **gareh** on *Sun, 16 Jan 2022 14:59:50 +0200*

## Figure C + + implementation of template, BFS and DFS

chart
There are two ways to store graphs: adjacency matrix and adjacency table.
adjacency matrix
A two-dimensional array is used to indicate whether there are edges between vertices and how much weight the edges are. For an undirected graph, the adjacency matrix is a symmetric matrix. The disadvantage is that although the adjacency matrix i ...

Added by **tallberg** on *Sun, 16 Jan 2022 11:44:12 +0200*

## Linked list 2: unidirectional circular linked list

When we write the interview, we often struggle with whether to customize the linked list or initialize a linked list first. Generally not required. If it is written on white paper, the normal interviewer will define it for you. If it is a video surface, Niuke and other systems will also be defined.
What if you meet someone who has nothing? Oft ...

Added by **tiagofrancis** on *Sun, 16 Jan 2022 10:15:20 +0200*

## [algorithm question - Sword finger Offer] detailed analysis: image of binary tree and stack containing min function

Image of JZ18 binary tree
(simple)
subject
describe Operate the given binary tree and transform it into a mirror of the source binary tree. For example: source binary tree 8 / \ 6 10 / \ / \ 5 7 9 11 Mirror binary tree 8 / \ 10 6 / \ / \ 11 9 7 5
Example Input: {8,6,10,5,7,9,11} Return ...

Added by **danoli3** on *Sun, 16 Jan 2022 10:03:56 +0200*

## Detailed explanation of BN core parameters of PyTorch

Detailed explanation of BN core parameters of PyTorchOriginal document: https://www.yuque.com/lart/ug...BN is a common operation and module in CNN. In the specific implementation, it contains multiple parameters. This also leads to different effects under different parameter combinations.affineModify during initializationWhen fine is set to Tru ...

Added by **__greg** on *Sun, 16 Jan 2022 08:40:51 +0200*

## Sword finger offer question set

Statement: the title and figure are from Leecode: https://leetcode-cn.com/
Sword finger offer
3: Duplicate number in array
Title: Solution ①: use additional array space. Execution time: 2 ms; Memory consumption: 46.1 MB
class Solution {
public int findRepeatNumber(int[] nums) {
//Create an array with length n and initial ...

Added by **aboldock** on *Sun, 16 Jan 2022 08:24:07 +0200*

## Container adapter -- queue, stack, priority_queue

What is an adapter
adapters play the role of bearing and converter in the flexible combination and application function of STL components. The concept of adapter is actually a design pattern. In the design pattern, the definition of adapter style is as follows: convert one class interface into another class interface, so that classes that ...

Added by **slyte33** on *Sun, 16 Jan 2022 07:00:39 +0200*