Machine learning / Data Distribution

It is a function / a list which shows all the possible values / intervals of the data.

Example: Let us take a data set of some numbers
Ds= [40,10,20,25,24,40,40,14,16]
Number of points in the data set = 9

Statistical Calculation Python Program Output
Data Distribution Example: Array contains 60 random floats between 1 and 4:

import numpy
dd = numpy.random.uniform(1.0, 4.0, 60)
print(dd)
[3.21258214 1.28331078 3.51185008 3.07476343 1.28686508 1.33148431 3.31476411 2.76986549 1.87498267 2.75833363 1.37309329 2.12108411 2.34681988 2.53021237 1.97291071 1.62166667 1.78760123 1.26174762 2.04166142 3.4823043 1.57037567 2.06301906 1.51432998 3.14319527 1.87475162 1.29929306 2.34300642 2.35638228 1.6050797 3.96598089 3.87540477 2.72004967 1.16310317 2.21566377 2.82368836 3.8425559 3.07532334 2.56885442 1.8456798 2.29819962 1.16998725 3.71949883 1.46764767 1.56129962 2.183093 2.55620378 2.6980193 1.62944213 3.49027593 2.92464324 2.10505275 3.44077608 3.22249584 1.13513995 2.66612039 3.59905547 3.54972128 1.70253925 3.79539849 3.85218412]


Home     Back