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 ai-final
0
0 votes
1
answers
1 answer
2.6k
2.6k views
How to use Genetic Algorithm to optimize a function?
Assume the function is defined as $f(x,y)=x^2+y^2-4xy$, and $1\leq x \leq 4,1\leq y \leq 4$. The Genetic Algorithm is selected to maximize the function. If the first pop...
tofighi
116k
points
73
79
101
asked
Dec 7, 2021
Artificial Intelligence
ai-final
genetic-algorithm
ga
+
–
0
0 votes
1
answers
1 answer
3.6k
3.6k views
How to create a Decision Tree using the ID3 algorithm?
NASA wants to be able to discriminate between Martians (M) and Humans (H) based on thefollowing characteristics: Green ∈{N, Y }, Legs ∈{2, 3}, Height ∈{S, T}, Smelly ∈{N,...
tofighi
116k
points
73
79
101
asked
Dec 1, 2021
Machine Learning
decision-tree
entropy
ml-exercise
ai-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
+
–
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
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
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
+
–
1
1 vote
1
answers
1 answer
3.6k
3.6k views
What is the difference between a batch and an epoch in a Neural Network?
Both of the batch size and number of epochs are integer values and seem to do the same thing in Stochastic gradient descent. What are these two hyper-parameters of this l...
tofighi
116k
points
73
79
101
asked
Oct 30, 2018
Machine Learning Interview Questions
machine-learning
deep-learning
stochastic-gradient-descent
batch
epoch
interview
hyper-parameter
ml-final
ai-final
+
–
To see more, click for the
full list of questions
or
popular tags
.