# Questions tagged [homework]

The tag has no usage guidance.

10 questions
1answer
42 views

### Train Naive Based Classifier

For (a) I have calculated $P(G)=\frac{5}{8}$, $P(O|G)=\frac{2}{5}$, $P(B|G)=\frac{1}{5}$, $P(C|G)=\frac{4}{5}$, and $P(A|G)=\frac{4}{5}$. Now how do I calculate the maximum likelihood estimate of ...
2answers
32 views

### How do I determine if a neural network can be computed by a network that contains only an input layer and an output layer?

I have a homework problem where the neural network below is given with its description. We have been asked "Can the functions that the above network computes also be computed by a network that ...
0answers
83 views

### Coding Issues faced in Andrew Ng's course [closed]

I was going through Andrew's ML course on Coursera (Week 2). I attach with this post some snaps of my codes for the optional exercise part (of the programming assignment problems) for that week, ...
0answers
184 views

### Problem on dataset skewness and deviation [closed]

This is the problem statement : Your data set has missing values and is positively skewed with skewness = 1. Further examination tells you that they are spread along 1.5 standard deviation from the ...
2answers
404 views

### Can a single-layer ANN get XOR wrong?

I'm still pretty new to artificial neural networks. While I've played around with TensorFlow, I'm now trying to get the basics straight. Since I've stumbled upon a course which explains how to ...
1answer
16k views

### What is the problem with: the condition has length > 1 and only the first element will be used?

newbie to r. i have: ...
1answer
301 views

### How do i convert a Named num [1:4] to a data frame in R?

newbie to r, taking The R Programming Environment from coursera. one of the assignments is to select some columns from a data frame and find the means. the code below seems to get the correct answer, ...
0answers
41 views

### Efficient filtering of intersecting sets by cardinality

Suppose we have a set of documents with integer identifiers and an inverted index, which maps words to skip lists of document identifiers with the interface: ...
1answer
203 views

### A binary classifier predicts only one type of class

This is an assignment question. Can someone someone give me some clue on how to get through: A generative approach is used for a binary classification problem and it turns out that the resulting ...
1answer
153 views

### How to calculate growth function for a threshold function

I'm working on a homework problem but don't fully understand it. The problem and solution: I don't understand the definition of the threshold function. Does it mean to pick one feature and classify ...