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 ml-midterm
0
0 votes
1
answers
1 answer
2.5k
2.5k views
How to calculate feed-forward (forward-propagation) in neural network for classification?
For the following neural network, calculate accuracy of classification, given these settings
tofighi
116k
points
73
79
101
asked
Oct 2, 2024
Machine Learning
ml-midterm
ele888-midterm
deep-learning
ml-exercise
machine-learning
feed-forward
forward-propagation
+
–
0
0 votes
1
1 answer
7.6k
7.6k views
How to calculate the residual errors, (MSE),(MAE), and (RMSE)?
Given the following sample dataset with 5 samples and 2 features:SampleFeature 1Feature 2Actual ValuePredicted Value1234623456345674567856789Calculate the residual errors...
tofighi
116k
points
73
79
101
asked
Jan 26, 2023
Machine Learning
residual
linear-regression
ml-midterm
ml-exercise
machine-learning
ele888-midterm
+
–
1
1 vote
1
answers
1 answer
4.9k
4.9k views
How to calculate residual errors for linear regression and interpret regression metrics?
Assuming we have a linear regression equation and some data points (sample), how can we calculate residual error for each data point, and total cost based on the metrics ...
tofighi
116k
points
73
79
101
asked
Feb 18, 2020
Machine Learning
machine-learning
linear-regression
residual
mae
mse
rmse
mape
mpe
ml-exercise
ml-midterm
+
–
3
3 votes
1
answers
1 answer
7.8k
7.8k views
How to calculate the probability and accuracy of a Logistic Regression classifier?
How to solve this problem?https://i.imgur.com/8urywpf.jpgQ1) Complete the ? sectionsQ2) Accuracy of system if threshold = 0.5?Q3) Accuracy of system if threshold = 0.95?
tofighi
116k
points
73
79
101
asked
Feb 3, 2020
Machine Learning
machine-learning
ml-exercise
logistic-regression
probability
ml-midterm
ele888-midterm
+
–
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
+
–
4
4 votes
1
answers
1 answer
7.6k
7.6k views
How to perform a classification or regression using k-NN?
Suppose, you have given the following dataset where x and y are the 2 features and color Red or Blue is the target variable.a) A new data point $x=1$ and $y=1$ is given. ...
tofighi
116k
points
73
79
101
asked
Jun 26, 2019
Machine Learning
machine-learning
knn
regression
classification
ml-exercise
ml-midterm
ele888-midterm
+
–
2
2 votes
1
answers
1 answer
20.9k
20.9k views
How to calculate k-means clustering with a numerical example?
Use the k-means algorithm and Euclidean distance to cluster the following 8 examples into 3 clusters:$A1=(2,10), A2=(2,5), A3=(8,4), A4=(5,8), A5=(7,5), A6=(6,4), A7=(1,2...
tofighi
116k
points
73
79
101
asked
Jun 26, 2019
Machine Learning
machine-learning
k-means
ml-exercise
ml-midterm
ele888-midterm
+
–
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
+
–
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
+
–
3
3 votes
1
answers
1 answer
7.4k
7.4k views
How to calculate LogLoss in logistic regression?
The dataset of pass/fail in an exam for 5 students is given in the table below. If we use Logistic Regression as the classifier and assume the model suggested by the opti...
tofighi
116k
points
73
79
101
asked
Mar 18, 2019
Machine Learning
machine-learning
logistic-regression
loss
ml-exercise
ele888-midterm
ml-midterm
+
–
2
2 votes
1
answers
1 answer
13.3k
13.3k views
How to calculate probability in Logistic Regression?
The dataset of pass/fail in an exam for 5 students is given in the table below. If we use Logistic Regression as the classifier and assume the model suggested by the opti...
tofighi
116k
points
73
79
101
asked
Mar 18, 2019
Machine Learning
machine-learning
logistic-regression
probability
odds
ml-exercise
ml-midterm
+
–
To see more, click for the
full list of questions
or
popular tags
.