当前位置:网站首页>Introduction to neural networks
Introduction to neural networks
2022-06-30 06:29:00 【Python code doctor】
AI, machine learning , The relationship between deep learning

The process of machine learning
- Data acquisition
- Feature Engineering
- Build a model
- Evaluation and application
The difference between machine learning and deep learning
Artificial intelligence is more artificial in machine learning , Manual selection data , Manual selection features , Manual selection algorithm , Get the data manually , It gives people the feeling that they just realize the mathematical formula . And in deep learning , Give the data to deep learning , It will automatically find out what parameters , The combination is appropriate , Give people a sense of intelligence . Solved the part of feature engineering .
Algorithms are important in deep learning , But the most important thing is feature extraction .
Deep learning is widely used , It's all about , For example, self driving cars. , Face recognition , In medicine, for example, cancer cells are detected , Detect whether the cells have mutation , The way genes are combined , Prediction of protein structure, etc !
The past and present lives of neural networks
A.D. 2009 year , There is a foreign scientist lifeifei , Specialized in computer vision , At that time, very few people did computer vision , There is no intelligent detection , Face recognition . At that time, lifeifei thought that this major was quite popular , Because there are too few people doing it , How can we arouse people's sympathy ? Just think of a question , Because there is no common goal , There is no common data , So it is troublesome for us to communicate , I wonder if I can create a dataset ? after 6 year , They called on many scientists in Colleges and universities to do a public welfare event , Is to collect images , Label image . In general, deep learning or machine learning are supervised problems , The neural network we are going to talk about also has the problem of supervision , Such as face detection , First of all, I must tell the machine where my real face is in the picture , Don't underestimate this matter , To use the face one by one 68 Mark the points , He is driving his face crazy . It's not a simple thing . stay 89 In, she called on scientists to do , It took a year to complete a data set , It's called IMAGENET, Contains 22000 Species ,1400 Ten thousand pictures , The amount of data is huge , It contains almost everything you can think of . We can't play with notebooks , At the very least 8 individual W Starting server . What if you want to play , You can use smaller datasets , such as CIFAR-10 After the data set was created, a competition was held , stay 09,10,11 Not many people took part in the , The results of the first place and the tenth place are only a little worse , until 12 year , There is ALEX, The neural network in deep learning won the championship by several percentage points beyond the second place , The second algorithm is the traditional artificial intelligence algorithm . thus , Scientists have discovered the outstanding effect of neural networks in computer vision , Be recognized , It's developing rapidly . until 2017, Neural network recognition exceeds human recognition ability , This competition just exited the stage .
Of course , When the data scale is relatively small, there is no difference between deep learning and traditional artificial intelligence algorithms, or even no deep learning , When the amount of data reaches more than hundreds of thousands, the advantages of in-depth learning are highlighted .

Computer vision
What does an image look like in a computer ?
A picture is represented as a three-dimensional array , The value of each pixel is from 0 To 255
The routine of machine learning
- Collect data and give labels
- Training a classifier
- test , assessment
Linear function ( Scoring function )
Mapping from input to output 
Like a picture of a cat (32323) after f(x,W) Get a score for each category , For example, the score of the cat , Dog score , Car score .
there W Weight parameter means weight parameter
b Represents the offset parameter , Play a fine-tuning role .
If you divide the cat a little , There's a total of 3702 Pixels , Each pixel has a different effect on the result , Some play a facilitating role , Some have an inhibitory effect , All the weight parameters are introduced here W, The weight of each pixel is different , therefore 3702 Pixels correspond to 3702 Two weight parameters .
there W It stands for the score 10 Species , Each species has 3072 A weight ,x For a picture , Yes 30721 Pixels .
b by 101 On behalf of this 10 Fine tune both values , Be careful : Fine tune each category , It is troublesome to list them here one by one .
Final , Multiple groups of weight parameters constitute the decision boundary 
Loss function

The parameters in the matrix are random . Big data means high weight , The parameters here identify a cat as a dog . Surely not , But how bad is this parameter ? There must be a definition , The loss function is introduced :

Sj Represents other categories ,Syi Represents the correct category ,1 The expectation bias on behalf of oneself refers to
Li The more close to 0 The better this group of weight parameters .
边栏推荐
猜你喜欢
A complete performance test process

Base64 explanation: playing with pictures Base64 encoding

Pycharm shortcut key

Application of redis client list in practice

01. regular expression overview

1.4 - 定点数与浮点数

My experience in functional testing for so many years

Multithreading advanced level

DHCP operation

Verilog中case,casez,casex语句的用法
随机推荐
Wuenda coursera deep learning course
Application of redis client list in practice
Px4 control mode summary
As function memo
Multithreading advanced level
Four ways to create multithreads
Idea add database
1.3 - 码制
1.7 - CPU的性能指标
Thread safe solutions, communication between threads (classic examples of producers and consumers)
Zibll sub theme v6.4.1wordpress open source download_ Crack the original / use it directly / no tutorial required
Verilog中case,casez,casex语句的用法
Who doesn't want a blog site of their own - build a blog site WordPress
Image processing 7- image enhancement
1.5 - 逻辑运算
Record a problem tracking of excessive load
ES6 array
一个完整的性能测试流程
DOM (document object model) document XML file object model
Collection and method of traversing collection elements (1)