Seach the website
Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Courses
Feedback
Recent questions tagged ele888-final
3
3 votes
1
answers
1 answer
6.0k
6.0k views
How to update the weights in backpropagation algorithm when activation function in not linear?
The goal of backpropagation is to optimize the weights so that the neural network can learn how to correctly map arbitrary inputs to outputs.Assume for the following neur...
tofighi
116k
points
73
79
101
asked
Aug 10, 2020
Machine Learning
machine-learning
deep-learning
neural-network
backpropagation
back-propagation
ml-exercise
ml-final
ele888-final
+
–
2
2 votes
1
answers
1 answer
6.6k
6.6k views
How to calculate the class probabilities and classify using Naive Bayes classifier?
We have data on 1000 pieces of fruit. The fruit being a Banana, Orange or some Other fruit and imagine we know 3 features of each fruit, whether it’s long or not, sweet o...
tofighi
116k
points
73
79
101
asked
Aug 10, 2020
Machine Learning
machine-learning
naive-bayes
ml-exercise
ele888-final
ai-final
+
–
2
2 votes
1
answers
1 answer
14.3k
14.3k views
How to calculate Accuracy, Precision, Recall or F1?
In the following example, calculate Accuracy, Precision, Recall or F1?https://i.imgur.com/OezFpqC.png
tofighi
116k
points
73
79
101
asked
Jan 27, 2020
Machine Learning
machine-learning
accuracy
precision
recall
ml-exercise
ml-midterm
ele888-final
ai-final
+
–
2
2 votes
1
answers
1 answer
4.9k
4.9k views
How to calculate the class probabilities and classify using Naive Bayes classifier for NLP?
We want to use Naive Bayes for tagging documents. It is a classification task that we want to assign a class (tag) to each string. We currently have two tags: Sport and N...
tofighi
116k
points
73
79
101
asked
Jun 26, 2019
Machine Learning
machine-learning
naive-bayes
nlp
natural-language-process
ml-exercise
ele888-final
ai-final
+
–
2
2 votes
1
answers
1 answer
20.4k
20.4k views
How to calculate Covariance Matrix and Principal Components for PCA?
The dataset with two features $(x,y)$ is shown as follows (note $y$ in this example is the second feature, not a target value):xy2.52.40.50.72.22.91.92.23.13.02.32.72.01....
tofighi
116k
points
73
79
101
asked
Jun 26, 2019
Machine Learning
machine-learning
covariance-matrix
eigen-vector
eigen-value
pca
ml-exercise
ele888-final
+
–
5
5 votes
1
answers
1 answer
9.1k
9.1k views
How to calculate convolutions on a CONV layer for a Convolutional Neural Network?
Assume we have a $5\times5$ px RGB image with 3 channels respectively for R, G, and B. IfR2000012001201021210101020G0212211100002202002002111B0100111201102021011012112 We...
tofighi
116k
points
73
79
101
asked
Jun 26, 2019
Deep Learning
machine-learning
deep-learning
ml-exercise
cnn
ml-final
ele888-final
ai-final
+
–
3
3 votes
1
answers
1 answer
7.4k
7.4k views
How to update weights in backpropagation algorithm (a numerical example)?
Assume we have the following neural network and all activation functions are $f(z)=z$. If the weights are initialized with the values you see in table below, what will be...
tofighi
116k
points
73
79
101
asked
Apr 11, 2019
Machine Learning
machine-learning
deep-learning
backpropagation
back-propagation
gradient-decent
ml-exercise
ml-final
ele888-final
+
–
3
3 votes
2
answers
2 answers
8.4k
8.4k views
How to calculate Softmax Regression probabilities in this example?
The scatter plot of Iris Dataset is shown in the figure below. Assume Softmax Regression is used to classify Iris to Setosa, Versicolor, or Viriginica using just petal le...
tofighi
116k
points
73
79
101
asked
Apr 4, 2019
Machine Learning
machine-learning
softmax-regression
softmax
ml-exercise
ml-midterm
ml-final
ele888-midterm
ele888-final
ai-final
+
–
3
3 votes
1
answers
1 answer
9.4k
9.4k views
How to calculate feed-forward (forward-propagation) in neural network?
In the figure below, a neural network is shown. Calculate the following:1) How many neurons do we have in the input layer and the output layer?2) How many hidden layers d...
tofighi
116k
points
73
79
101
asked
Apr 4, 2019
Machine Learning
machine-learning
feed-forward
forward-propagation
deep-learning
ml-exercise
ml-final
ele888-midterm
ele888-final
ml-midterm
+
–
2
2 votes
1
answers
1 answer
6.6k
6.6k views
How to update weights using gradient decent algorithm?
For the below neural network, imagine we are going to use the backpropagation algorithm to update weights. If the Bias (b) in this problem is always 0 (ignore bias when y...
tofighi
116k
points
73
79
101
asked
Mar 28, 2019
Machine Learning
machine-learning
deep-learning
gradient-decent
backpropagation
cost-function
linear-regression
ml-exercise
ele888-final
+
–
3
3 votes
1
answers
1 answer
10.8k
10.8k views
How to calculate Softmax Regression probabilities?
The scatter plot of Iris Dataset is shown in the figure below. Assume Softmax Regression is used to classify Iris to Setosa, Versicolor, or Viriginica using just petal le...
tofighi
116k
points
73
79
101
asked
Mar 21, 2019
Machine Learning
machine-learning
softmax-regression
softmax
ml-exercise
ele888-midterm
ele888-final
ml-midterm
ai-final
+
–
To see more, click for the
full list of questions
or
popular tags
.