Quantcast
Channel: What's the equivalent of fitdist and histfit in Python? - Stack Overflow
Browsing index pages (4 articles)
↧

Image may be NSFW.
Clik here to view.

What's the equivalent of fitdist and histfit in Python?

--- SAMPLE ---I have a data set (sample) that contains 1 000 damage values (the values are very small <1e-6) in a 1-dimension array (see the attached .json file). The sample is seemed to follow...

View Article


Image may be NSFW.
Clik here to view.

Answer by Filipe Aleixo for What's the equivalent of fitdist and histfit in...

Try seaborn:import seaborn as sns, numpy as npsns.set(); np.random.seed(0)x = np.random.randn(100)ax = sns.distplot(x)

View Article


Answer by erdogant for What's the equivalent of fitdist and histfit in Python?

Try the distfit (or fitdist) library.https://erdogant.github.io/distfitpip install distfitimport numpy as np# Example dataX = np.random.normal(10, 3, 2000)y = [3,4,5,6,10,11,12,18,20]# From the distfit...

View Article

Image may be NSFW.
Clik here to view.

Answer by Jean A. for What's the equivalent of fitdist and histfit in Python?

I tried your dataset using Openturns libraryx is the list given in you json file.import openturns as otfrom openturns.viewer import Viewimport matplotlib.pyplot as plt# first format your list x as a...

View Article
Browsing index pages (4 articles)


Latest Images