Neural Networks (easy introduction)

Neural Networks (easy introduction)

Neural networks are an interesting form of machine learning. They are like any other model in the sense that they have inputs and outputs however their layered approach makes them unique. In simple terms a forward feed (most simple neural network) is calculated by using two processes. The first process is forward propagation. Forward propagation takes inputs, multiplies them by weights (think coefficients) and adds a bias (think intercept), and then uses an activation function (such as logistic) to transform the output from the weight/bias formula to get an output for the next layer. This is done for every layer from the input layer to the output layer.

The unique part of neural networks is how they learn. This process is called back propagation. In back propagation the goal is to select weights and biases so that the error (actual - predicted) is as small as possible. To adjust the weights and biases in the right direction, gradient descent is used. In simple terms, gradient descent finds the direction with the steepest slope towards the minimum value of the error function. Once the direction is found all of the weights and biases are adjusted by a learning rate which is typically a small number. After the weights and biases are updated forward propagation is ran again and the errors are calculated. If the errors are larger than the threshold we desire, back propagation is conducted again and this loop (called an epoch in machine learning) continues until the errors of the model are small enough or there seems to be no improvement. If there is no improvement then the model structure (number of neurons, layers, and types of input variables) needs to be adjusted.

For a better example check out my video on YouTube with pictures and some basic math. If you like the video Subscribe to my channel for future videos that will cover examples of how to actually calculate a neural network by hand.


Dimitri Bianco, FRM

Head of Quant Risk and Research

6 年

Eric Weber I would love to get your feedback on my video.

回复

要查看或添加评论,请登录

Dimitri Bianco, FRM的更多文章

  • Neural Networks: Finance Prediction

    Neural Networks: Finance Prediction

    With machine learning on the rise it seems there are two camps in finance. The first camp thinks machine learning will…

    6 条评论
  • Communication and Quants

    Communication and Quants

    One of the biggest areas I focus on as helping students and professionals with is communication. There is always a…

    1 条评论
  • Top 5 Resume Mistakes (Quant Finance)

    Top 5 Resume Mistakes (Quant Finance)

    As someone who specializes in career development for quantitative finance I get a lot of resumes to review. Below is a…

  • Selecting A Data Science Masters

    Selecting A Data Science Masters

    Data science has been becoming more popular as more industries outside of tech (such as banking) have been adapting to…

  • Why You're Not Getting A Job

    Why You're Not Getting A Job

    The most common approach to getting a job is applying to as many jobs as possible. Something has to stick, right?…

  • Why Model Development is Broken in Banking

    Why Model Development is Broken in Banking

    Model development in the banking industry has been broken but bankers don't realize it because they aren't great model…

    29 条评论
  • How Much Do Quants Really Make?

    How Much Do Quants Really Make?

    Often I hear students and people in other industries talk about how quants are all paid extremely well and they wish…

    2 条评论
  • Why Be Passionate at Work?

    Why Be Passionate at Work?

    Being passionate about your work makes you a better person to be around, makes you produce better quality work, and…

    2 条评论
  • Being PC (Politically Correct) Isn't Helpful

    Being PC (Politically Correct) Isn't Helpful

    Being politically correct has been a hallmark of being a millennial and a modern American however it is damaging in…

    3 条评论
  • EU Fines Google $2.7B: Validation Solution?

    EU Fines Google $2.7B: Validation Solution?

    The EU fines Google $2.7 Billion for an anti-trust accusations.

社区洞察

其他会员也浏览了