Home » Google » Professional-Data-Engineer » Which is shown in the graphic below. The two dimensions are X and Y, and the shade of each dot represents what class it is. You want to classify this data accurately using a linear algorithm. To do this you need to add a synthetic feature. What should the value of that feature be?
You have some data, which is shown in the graphic below. The two dimensions are X and Y, and the shade of each dot represents what class it is. You want to classify this data accurately using a linear algorithm. To do this you need to add a synthetic feature. What should the value of that feature be?
A. X^2+Y^2
B. X^2
C. Y^2
D. cos(X)
Correct Answer: D
Explanation/Reference:
Download Printable PDF. VALID exam to help you PASS.
|
|
It’s D, top dots are black, no grey
D
top dots are black & “To do this you need to ADD a synthetic feature.” -> in model are 3 feature: x, y, cos(x)
By the way….it’s A
can’t be that (cos(x). the 2 variables that make a circle in http://playground.tensorflow.org are x1^2 and x2^2.
Sin(x) or cos(x) whould just make horizontal stripes.
To do this you’d use those 2 variables, learning rate 0,3 for example, classification type, no regularization needed and any activation function will work fine.
A is the equation of a circle which looks like a good separation for the black vs grey dots.