on-internet
← Community

How should I choose the degree of a hypothesis function? [closed]

Stack Overflow ·

In a normal machine learning problem, you get many features (for example, if you are making an image recogniser), so when there are many features, you can't visualise the data (you can't plot a graph). Without plotting a graph, is there a way to determine what degree of a hypothesis function should we use for that problem? How can I determine the best hypothesis functions to use? For example: if there are 2 inputs x(1), x(2). whether to choose (w0) + x(1)*w(1) + x(2)*w(2) as the hypothesis function or w(0) + x(1)*w(1) + x(2)*w(2) + x(1)*x(2)*w(3) + (x(1)^2)*w(4) + (x(2)^2)*w(5) as the hypothes

Comments

Sign in or sign up to comment and upvote.

No comments yet.