当前位置:网站首页>Introduction to common activation functions
Introduction to common activation functions
2022-06-13 01:07:00 【dddd_ jj】
1.sigmoid function
The formula is as follows 
The image below .
sigmoid Functional y Always in [0,1] Between , When x Greater than 0 when ,y Greater than 0.5. When doing simple binary tasks , It can be set at [0,1] A certain value between is used as the threshold , The result of exceeding the threshold , We fall into one category , Otherwise they fall into another category .
2.softmax function

if sigmoid The function is to solve the problem of binary classification , that softmax Function is to solve the multi classification problem . As shown in the figure above , Input is [z1,z2,z3], The output is [y1,y2,y3], The sum of the three numbers is 1.
3.relu function

When x<=0 when ,y=0, When x>0,y=x.
4.tanh function

tanh Functions and sigmoid The function is very similar to , however tanh Of y Value range is [-1,1].
边栏推荐
- Canvas game 2048 free map size
- 刘徽与《九章算术》《海岛算经》简介
- redis
- 五篇经典好文,值得一看(2)
- 軟件測試的幾種分類,一看就明了
- Dynamic planning - good article link
- Leetcode-9-palindromes (simple)
- Liu Hui and introduction to nine chapter arithmetic and island arithmetic
- Leetcode-78- subset (medium)
- Leetcode-19- delete the penultimate node of the linked list (medium)
猜你喜欢

Several categories of software testing are clear at a glance

数学知识整理:极值&最值,驻点,拉格朗日乘子

Key point detection data preparation and model design based on u-net Network -- detection model of four key points of industrial components

Minimum spanning tree problem

How to choose stocks? Which indicator strategy is reliable? Quantitative analysis and comparison of strategic returns of BBI, MTM, obv, CCI and priceosc indicators

Common skills for quantitative investment - indicators Chapter 3: detailed explanation of RSI indicators, their code implementation and drawing

Physical orbit simulation

Introduction to ROS from introduction to mastery (zero) tutorial

With a market value of more than trillion yuan and a sales volume of more than 100000 yuan for three consecutive months, will BYD become the strongest domestic brand?

HashSet underlying source code
随机推荐
Leetcode-17- letter combination of phone number (medium)
Leetcode-78- subset (medium)
Install pycharm process
Several categories of software testing are clear at a glance
Opencv desaturation
Common skills of quantitative investment - index part 2: detailed explanation of BOL (Bollinger line) index, its code implementation and drawing
Stmarl: a spatio temporal multi agentreinforcement learning approach for cooperative traffic
[JS component] previous queue prompt
How the ET framework uses it to develop games
Breadth first search for node editor runtime traversal
Common skills for quantitative investment - drawing 3: drawing the golden section line
MySQL异常:com.mysql.jdbc.PacketTooBigException: Packet for query is too large(4223215 > 4194304)
Unity calls alertdialog
Expression tree - medium order printout
Jenkins持续集成操作
How many rounds of deep learning training? How many iterations?
Rotating camera
Bubble sort - alternate sort at both ends
The tle4253gs is a monolithic integrated low dropout tracking regulator in a small pg-dso-8 package.
Five classic articles worth reading