Menu

[Solved]-Python Write Function Computes Probability Feature Value X Appear Given Feature Values Giv Q37264968

In python, write function that computes the probability of afeature-value (x) to appear given all the feature values given indata.

Note: assume the values of data follow a normaldistrubution.

     Parameters: data: a 1-D numpy arraythat represents a column (feature values) for a given feature inyour database

x: the value that you are calculating the probability for.

The function should should returns one value which is theprobability of x to occur in data (returned value is from 0-1, andnot 0-100).

Expert Answer


Answer to In python, write function that computes the probability of a feature-value (x) to appear given all the feature values gi… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *