Recent questions tagged ml-exercise

0 0 votes
1 answers 1 answer
2.5k
2.5k views
For the following neural network, calculate accuracy of classification, given these settings
0 0 votes
1 1 answer
7.6k
7.6k views
Given the following sample dataset with 5 samples and 2 features:SampleFeature 1Feature 2Actual ValuePredicted Value1234623456345674567856789Calculate the residual errors...
0 0 votes
1 answers 1 answer
3.6k
3.6k views
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,...
3 3 votes
1 answers 1 answer
6.0k
6.0k views
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...
2 2 votes
1 answers 1 answer
6.6k
6.6k views
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...
1 1 vote
1 answers 1 answer
4.9k
4.9k views
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 ...
3 3 votes
1 answers 1 answer
7.8k
7.8k views
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?
2 2 votes
1 answers 1 answer
14.3k
14.3k views
In the following example, calculate Accuracy, Precision, Recall or F1?https://i.imgur.com/OezFpqC.png
4 4 votes
1 answers 1 answer
7.6k
7.6k views
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. ...
2 2 votes
1 answers 1 answer
20.9k
20.9k views
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...
2 2 votes
1 answers 1 answer
4.9k
4.9k views
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...
2 2 votes
1 answers 1 answer
20.4k
20.4k views
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....
5 5 votes
1 answers 1 answer
9.1k
9.1k views
Assume we have a $5\times5$ px RGB image with 3 channels respectively for R, G, and B. IfR2000012001201021210101020G0212211100002202002002111B0100111201102021011012112 We...
2 2 votes
2 2 answers
10.5k
10.5k views
The hypothesis (model) of Logistic Regression which is a binary classifier ( $y =\{0,1\} $) is given in the equation below:Hypothesis$S(z)=P(y=1 | x)=h_{\theta}(x)=\frac{...
3 3 votes
1 answers 1 answer
7.4k
7.4k views
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...
0 0 votes
1 answers 1 answer
1.8k
1.8k views
For the following dataset, calculate the regression equation $\hat{y} = ax+b$datasetxy1423501075161002615036200
3 3 votes
2 answers 2 answers
8.4k
8.4k views
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...
3 3 votes
1 answers 1 answer
9.4k
9.4k views
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...
2 2 votes
1 answers 1 answer
6.6k
6.6k views
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...
3 3 votes
1 answers 1 answer
10.8k
10.8k views
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...