probability-distribution Questions
1
Solved
I am conducting some nonlinear optimization using multivariate probabilities as my objective function. I've spent hours thinking I had issue with the optimization algorithm, but actually I've track...
Leif asked 9/5 at 19:19
4
Solved
I am aware of many probabilistic functions builted-in Python, with the random module.
I'd like to know if, given a list of floats, it would be possible to find the distribution equation that best f...
Recessional asked 23/4, 2011 at 5:43
3
Solved
I would like to implement a function in python (using numpy) that takes a mathematical function (for ex. p(x) = e^(-x) like below) as input and generates random numbers, that are distributed accord...
Comical asked 26/6, 2018 at 20:7
5
In some (e.g. machine learning) libraries, we can find log_prob function. What does it do and how is it different from taking just regular log?
For example, what is the purpose of this code:
dist...
Enantiomorph asked 11/2, 2019 at 16:51
3
Solved
When I draw displot for discrete variables, the distribution might not be as what I think. For example.
We can find that there are crevices in the barplot so that the curve in kdeplot is "lower" ...
Atc asked 26/2, 2018 at 14:18
1
Each continuous distribution in scipy.stats comes with an attribute that calculates its differential entropy: .entropy. Unlike the normal distribution (norm) and others that have a closed-form solu...
Halfmast asked 9/1, 2021 at 8:27
1
I'm currently trying to solve Pendulum-v0 from the openAi gym environment which has a continuous action space. As a result, I need to use a Normal Distribution to sample my actions. What I don't un...
Banquet asked 19/3, 2020 at 20:23
2
I am using Gaussian mixture model for speaker identification. I use this code to predict the speaker for each voice clip.
for path in file_paths:
path = path.strip()
print (path)
sr,audio = r...
Path asked 26/1, 2018 at 16:42
1
I'm new to python and I need to construct a LDA project. After doing some preprocessing step, here is my code:
dictionary = Dictionary(docs)
corpus = [dictionary.doc2bow(doc) for doc in docs]
fro...
Glenda asked 15/11, 2018 at 6:23
1
Solved
I am very new to Statistics and R. Maybe this is a very trivial question, but I don't really understand how this works.
Suppose I use dnorm(5, 0, 2.5). What does that mean?
I saw some resources w...
Blunk asked 28/1, 2018 at 4:8
3
Solved
I am using np.random.rand to create a matrix/tensor of the desired shape. However, this shape argument (generated in runtime) is a tuple such as: (2, 3, 4). How can we use this shape in np.random.r...
Syncope asked 24/4, 2017 at 12:0
1
Solved
I have a log-normal distributed set a samples and want to perform a fit to it. Then I want to plot both the histogram of the samples and the fitted PDF into one plot, and I'd like to use the origin...
Acidulate asked 20/1, 2016 at 7:9
1
© 2022 - 2024 — McMap. All rights reserved.