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 grayscale image.
Represent each pixel value with a single scalar, giving four features
x; x; x; x
Assume that each image belongs to one among the categories square
triangle and circle
How to represent the labels?
I Use label encoding.
y ; ; where the integers represent circle; square; triangle respectively.
I Use onehot encoding.
y ; ; ; ; ; ; ; ; y would be a threedimensional vector, with
corresponding to circle to square and to triangle
Deep Learning
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
