age-gender-estimation icon indicating copy to clipboard operation
age-gender-estimation copied to clipboard

why dot ages arange(0, 101) rather than max in predict

Open qiujunhan opened this issue 3 years ago • 1 comments

ages = np.arange(0, 101).reshape(101, 1) predicted_ages = results[1].dot(ages).flatten()

why 100 age have more big weights to calculate,hope to get answers,think you.

qiujunhan avatar Nov 08 '21 06:11 qiujunhan

By definition of expected value

yu4u avatar Nov 08 '21 12:11 yu4u