Question: Each input consists of a 2 2 grayscale image. Represent each pixel value with a single scalar, giving four features x 1 ; x 2

Each input consists of a 22 grayscale image.
Represent each pixel value with a single scalar, giving four features
x1; x2; x3; x4.
Assume that each image belongs to one among the categories square,
triangle, and circle.
How to represent the labels?
I Use label encoding.
y 21; 2; 3, where the integers represent circle; square; triangle respectively.
I Use one-hot encoding.
y 2(1; 0; 0); (0; 1; 0); (0; 0; 1). y would be a three-dimensional vector, with (1,
0,0) corresponding to circle,(0,1,0) to square, and (0,0,1) to triangle.
Deep Learning

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!