THIS IS A COMPLETE NOTE FROM ALL BOOKS + LECTURE!
Save your time for internships, other courses by studying over this note!
Are you a 1st/2nd year of Business Analytics Management student at RSM, who want to survive the block 2 Machine Learning module? Are you overwhelmed with 30 pages of re...
Chapter 10 : Deep learning
Neural networks takes an input vector of p variables : X = (X1,X2,…Xp) and builds a nonlinear
function f(X) to predict the response Y.
Neural networks derive new features by computing different combinations of X, and then
squashes each through an activation function to transform it into the final model as a linear
model in the derived variables.
Neural Network uses feed-forward neural network for modeling a response with p predictors.
Specializations of deep learnings
1. Convolutional Neural Networks: for image classification
2. Recurrent Neural Networks: for time series and other sequences
Advantage
It can fit to almost any data! Very low bias
Typically, neural network will be an attractive choice when the sample size of the training set is
extremely large and when interpretability of the model is not a high priority
Disadvantage
Linear models are much easier to interpret than the neural network
When faced with several methods that give roughly equivalent performance, pick the simplest
10.1 : Single Layer Neural Networks
Structure
- Input layer: consists of the units of features as input units
- Hidden layer: consists of K Hidden units/Activations :
o each of the inputs from the input layer feeds into it. We pick the number of K
hidden units)
o It works as a different transformation of the original features
- Weights : represented as w
, - Bias: represented as B. added to the weighted input unit as an input to the activation
layer
Activation functions
The nonlinearity in the activation function is essential to allow the model to capture complex
nonlinearities and interaction effects of the data.
Sigmoid function : same function used in logistic regression to convert a linear function into
probabilities between 0 and 1.
ReLU (Rectified linear unit) function: function with a threshold 0 that only counts f(x) that is
higher than threshold
- More efficient than sigmoid because of the efficiency in computation and storage: more
preferred function in the modern neural network
the constant term wk0 in the linear function will shift the threshold
Process: Prediction
1. Input observations x + Bias will be passed from input layer to hidden layer with hidden
units/Activation function
a. the observations will be multiplied by the weights for each observation and
passed with Bias to each activation unit
2. The multiplied results of input units and weights will get nonlinear transformation by
the activation function
3. The result will be multiplied by the Beta coefficients and passed to the output layer as
the linear combination of nonlinear transformed linear combination of x, with an
intercept.
Process: Estimating parameters
In neural network, Weights, Bias, Beta coefficients and intercept have to be estimated from
data. Loss functions are used.
Quantitative objective: minimize Squared-error loss
Qualitative objective: minimize the negative multinomial log-likelihood/cross-entropy
Les avantages d'acheter des résumés chez Stuvia:
Qualité garantie par les avis des clients
Les clients de Stuvia ont évalués plus de 700 000 résumés. C'est comme ça que vous savez que vous achetez les meilleurs documents.
L’achat facile et rapide
Vous pouvez payer rapidement avec iDeal, carte de crédit ou Stuvia-crédit pour les résumés. Il n'y a pas d'adhésion nécessaire.
Focus sur l’essentiel
Vos camarades écrivent eux-mêmes les notes d’étude, c’est pourquoi les documents sont toujours fiables et à jour. Cela garantit que vous arrivez rapidement au coeur du matériel.
Foire aux questions
Qu'est-ce que j'obtiens en achetant ce document ?
Vous obtenez un PDF, disponible immédiatement après votre achat. Le document acheté est accessible à tout moment, n'importe où et indéfiniment via votre profil.
Garantie de remboursement : comment ça marche ?
Notre garantie de satisfaction garantit que vous trouverez toujours un document d'étude qui vous convient. Vous remplissez un formulaire et notre équipe du service client s'occupe du reste.
Auprès de qui est-ce que j'achète ce résumé ?
Stuvia est une place de marché. Alors, vous n'achetez donc pas ce document chez nous, mais auprès du vendeur ArisMaya. Stuvia facilite les paiements au vendeur.
Est-ce que j'aurai un abonnement?
Non, vous n'achetez ce résumé que pour €14,99. Vous n'êtes lié à rien après votre achat.