Questions tagged [homework]
For questions that are part of homework where you need some help. Please, describe what you have tried so far and don't just ask for the solution.
20
questions
0
votes
0
answers
21
views
How do I make an autoencoder and make it work on extracting the feature of a stationary wave?
I have a project to complete in a day, and I know that doing it in a day is a bit far-fetched. The problem is this -
"Design an autoencoder with two neurons as the constriction, multiple hidden ...
2
votes
1
answer
102
views
My cross entropy loss gradient calculation is wrong according to the answer key
Given a neural network model for Covid-19 classification with $C=1$ for positive and $C=0$ for negative
Let $x_1 = 6$ and $x_2=2$ find
Probability if the patient got Covid-19 $p\left(C=1 | x; w,b\...
0
votes
0
answers
22
views
How to deal with this type of fuzzy logic questions?
The question given to me is:
Consider the following fuzzy if-then rule:
(i) If $x$ is $A_{1}$ then $y$ is $B_{1}$
(ii) If $x$ is $A_{2}$ then $y$ is $B_{2}$
where $A_{\mathrm{i}} \in X$ and $B_{\...
0
votes
1
answer
834
views
What is the possible solution to the Problem? [closed]
Don't need a complete solution just some guidance on how to solve it.
Consider that a person has never been to the city airport. It's early in the morning and assumes that no other person is awake in ...
1
vote
0
answers
79
views
How should the 1-point crossover and mutation be defined for the problem of finding the largest circle that does not enclose any point?
For a random scattering of points, in a bounded area, the goal is to find the largest circle that can be drawn inside those same bounds that does not enclose any points. Solving this problem with a ...
0
votes
1
answer
201
views
How to design a fitness function for a problem where there are 2 objectives?
I am told to express a fitness function for a question I have been presented. I am unsure how I would express the function. In words, what I have written down makes sense but turning this into a ...
3
votes
0
answers
89
views
Why is the margin attained with $\Phi=\left[2 x, 2 x^{2}\right]^{T}$ greater than the margin attained with $\Phi=\left[x, x^{2}\right]^{T}$?
I am trying to understand the solution to part 4 of problem 3 from the midterm exam 6.867 Machine learning: Mid-term exam (October 15, 2003).
For reproducibility, here is problem 3.
We consider here ...
1
vote
2
answers
307
views
If the training data are linearly separable, which of the following $L(w)$ has less optimum answer for $w$, when $y = w^Tx$?
I'm studying machine learning and I came into a challenging question.
The answer is 2. But based on my ML notes, all of them are true. Where are the wrong points?
1
vote
0
answers
42
views
Which ML approach could determine that a number greater than 5 is not prime, knowing that a number is not prime if it ends with an even digit or 5?
I have started studying ML just a short while ago, so that my questions will be very elementary. That being so, if they are not welcome, just tell me and I'll stop asking them.
I gave myself a ...
1
vote
1
answer
2k
views
What is the space complexity of iterative deepening search?
When using iterative deepening, is the space complexity, $O(d)$, where $b$ is the branching factor and $d$ the length of the optimal path (assuming that there is indeed one)?
1
vote
1
answer
146
views
What's wrong with my answer to this constraint satisfaction problem, which needs to be solved the AC-3 algorithm?
I was watching the video Constraint Satisfaction: the AC-3 algorithm, and I tried to solve this question:
Given the variables A, B, C and D, with domain {1, 2, 3, 4} in each of them and restrictions ...
-1
votes
1
answer
284
views
After a GAN is trained, which parts of it are used to generate new outputs from data?
After a GAN is trained, which parts of it are used to generate new outputs from data?
Options are:
Neither
Discriminator
Generator
Both Generator and Discriminator
0
votes
1
answer
486
views
Why is it useful to track loss while model is being trained?
Why is it useful to track loss while the model is being trained?
Options are:
Loss is only useful as a final metric. It should not be evaluated while the model is being trained.
Loss dictates how ...
3
votes
0
answers
157
views
How to show Sauer's Lemma when the inequalities are strict or they are equalities?
I have the following homework.
We proved Sauer's lemma by proving that for every class $H$ of finite VC-dimension $d$, and every subset $A$ of the domain,
$$
\left|\mathcal{H}_{A}\right| \leq |\...
1
vote
1
answer
276
views
Prove that in such cases, it is possible to find an ERM hypothesis for $H_n$ in the unrealizable case in time $O(mnm^{O(n)})$
Let $H_1$ , $H_2$ ,... be a sequence of hypothesis classes for binary classification.
Assume that there is a learning algorithm that implements the ERM rule in the realizable case such that the ...
1
vote
1
answer
806
views
Given an axis-angle rotation vector, how can I find the unit rotation axis and angle?
I have a robotics assignment, which I am unable to solve. Given the axis-angle rotation vector $\Theta = (2, 2, 0)$, how can I calculate the unit vector of the rotation axis $k$ and the angle $\theta$?...
1
vote
1
answer
572
views
Is this ExpectiMinimax Tree correctly drawn?
I need help with ExpectiMinimax problem:
Start a game.
The first player flips a coin.
The second player flips a coin.
The first player decides if he wants to flip another coin.
The second player ...
3
votes
2
answers
180
views
What are some possible projects that can be finished in a 4-week time-frame?
I am taking AI this semester and we have a semester project that will last 4 weeks. We can choose just about anything.
So, what are some possible semester projects that can be finished in a 4-week ...
0
votes
2
answers
2k
views
How can I solve part b of exercise 3.6 from the book "Artificial Intelligence: A Modern Approach"?
I am trying to solve part b of the exercise 3.6 (page 113) from the book Artificial Intelligence: A Modern Approach.
More specifically, I need to give a complete problem formulation (that is precise ...
-1
votes
1
answer
3k
views
How can I manually calculate the output a specific neural network given some input? [closed]
I have the following problem, which I am unable to solve.
A neural network with the following structure is given: 1 input neuron, 4 elements in the hidden layer, 1 output neuron.
The output neuron is ...