Skip to content

Releases: erdogant/distfit

v1.5.1

28 Jan 16:59

Choose a tag to compare

  • Verbose now uses the official logging library. This means that the verbose input has been changed slightly:
     verbose : [str, int], default is 'info' or 20
        Set the verbose messages using string or integer values.
            * 0, 60, None, 'silent', 'off', 'no']: No message.
            * 10, 'debug': Messages from debug level and higher.
            * 20, 'info': Messages from info level and higher.
            * 30, 'warning': Messages from warning level and higher.
            * 50, 'critical': Messages from critical level and higher.

```* Updates in docstrings.

v1.5.0

27 Jan 15:35

Choose a tag to compare

  • functionality added to better controling plotting.
  • emp_properties, pdf_properties, bar_properties and cii_properties can independently be controlled are disabled during plotting.
  • Docstrings updated

v1.4.5

10 May 07:43

Choose a tag to compare

  • Some code refactoring and cleaning
  • Added test statistic name in the title of the figure

v1.4.4

19 Mar 19:03

Choose a tag to compare

  • Changed title text of plot with scientific notation.

v1.4.3

19 Mar 18:50

Choose a tag to compare

  • alpha parameter added to the predict function.
  • Output contains y_bool which is y_proba<=alpha
from distfit import distfit
X = np.random.normal(0, 2, 1000)
y = [-8, -6, 0, 1, 2, 3, 4, 5, 6]

dist = distfit()
dist.fit_transform(X)
results = dist.predict(y, alpha=0.01)
results['y_bool']

1.4.2

30 Nov 18:56

Choose a tag to compare

  • added doi

1.4.1

01 Oct 09:16

Choose a tag to compare

  • Pass fig and ax to give more control to the user's for plotting.

Thank you for the contribution @ksachdeva!

1.4.0

26 Mar 10:08

Choose a tag to compare

  • New function "generate" that allows to generate samples after fitting on the data.
  • Discrete output parameters aligned with output parameters of parametric models
  • New output variable added: "model" which is the fitted model based on loc/scale params. The "distr" remains the unfitted model.
  • Code generalized which allows that discrete and parametric runs in more same functions.
  • Different scoring statistics is now also possible for discrete fitting.

1.3.0

25 Mar 08:53

Choose a tag to compare

  • output parameter in dict "RSS" changed into "score" because various scoring statistics can be chosen.

1.2.8

24 Mar 22:31

Choose a tag to compare

  • Added possibility to use different scoring statistics.
    The parameter "stats" is to be used to define the scoring statistic: RSS, wasserstein, Kolmogorov-Smirnov statistic (ks) or energy