ngboost icon indicating copy to clipboard operation
ngboost copied to clipboard

[pkg] v0.3.12 pypi is not updated

Open xmnlab opened this issue 3 years ago • 5 comments

Hi everyone!

I am trying to use v0.3.12 but it seems that the package on pypi is not the same as the code here on github under tag v0.3.12

I downloaded the package from pypi and the init function is:

class NGBRegressor(NGBoost, BaseEstimator):
    """
    Constructor for NGBoost regression models.

    NGBRegressor is a wrapper for the generic NGBoost class that facilitates regression.
    Use this class if you want to predict an outcome that could take an
    infinite number of (ordered) values.

    Parameters:
        Dist              : assumed distributional form of Y|X=x.
                            A distribution from ngboost.distns, e.g. Normal
        Score             : rule to compare probabilistic predictions P̂ to the observed data y.
                            A score from ngboost.scores, e.g. LogScore
        Base              : base learner to use in the boosting algorithm.
                            Any instantiated sklearn regressor, e.g. DecisionTreeRegressor()
        natural_gradient  : logical flag indicating whether the natural gradient should be used
        n_estimators      : the number of boosting iterations to fit
        learning_rate     : the learning rate
        minibatch_frac    : the percent subsample of rows to use in each boosting iteration
        col_sample        : the percent subsample of columns to use in each boosting iteration
        verbose           : flag indicating whether output should be printed during fitting
        verbose_eval      : increment (in boosting iterations) at which output should be printed
        tol               : numerical tolerance to be used in optimization
        random_state      : seed for reproducibility. See
                            https://stackoverflow.com/questions/28064634/random-state-pseudo-random-number-in-scikit-learn
    Output:
        An NGBRegressor object that can be fit.
    """

    def __init__(
        self,
        Dist=Normal,
        Score=LogScore,
        Base=default_tree_learner,
        natural_gradient=True,
        n_estimators=500,
        learning_rate=0.01,
        minibatch_frac=1.0,
        col_sample=1.0,
        verbose=True,
        verbose_eval=100,
        tol=1e-4,
        random_state=None,
    ):

but the same code under tag v0.3.12 is different: https://github.com/stanfordmlgroup/ngboost/blob/v0.3.12/ngboost/api.py#L21-L73

not sure if I am missing something .. but it looks like it is not updated.

any change to update the package on pypi?

all the best! thanks!

xmnlab avatar Jan 26 '22 16:01 xmnlab

Hi everyone, just a friendly reminder about this issue :)

xmnlab avatar Feb 12 '22 20:02 xmnlab

Hi folks, just a friendly reminder about this issue if there is any update

xmnlab avatar Feb 18 '22 15:02 xmnlab

@xmnlab I'll be working to resolve this in a few days, hoping to merge the latest PR out along with this fix

ryan-wolbeck avatar Feb 18 '22 15:02 ryan-wolbeck

That sounds great, thank you for the feedback!

xmnlab avatar Feb 18 '22 15:02 xmnlab

hi everyone! just checking if there is any update about this issue. thanks!

xmnlab avatar Jul 29 '22 03:07 xmnlab

hi everyone! just a friendly reminder about this issue. let me know if there is anything I could help. thanks!!

xmnlab avatar Aug 21 '22 12:08 xmnlab

because we didn't have any progress here since February and I've had received any response since July, for now I will publish a new package on pypi (not sure yet the name) just in order to have this available on pypi because currently it is causing on trouble. thanks you all for all the work on ngboost.

If I can help in any way here feel free to ping me anytime :)

xmnlab avatar Sep 08 '22 21:09 xmnlab

https://pypi.org/project/ngboost-release/

xmnlab avatar Sep 08 '22 22:09 xmnlab

@xmnlab the PR still hasn't been updated by the person who submitted it. I'll work to re-create the PR myself and push it through next week

ryan-wolbeck avatar Sep 14 '22 15:09 ryan-wolbeck

thank you so much for the update! appreciate that! looking forward to using the new release next week :)

xmnlab avatar Sep 14 '22 17:09 xmnlab

we are working on https://github.com/stanfordmlgroup/ngboost/pull/296 and I'll publish 3.13 once merged

ryan-wolbeck avatar Sep 23 '22 19:09 ryan-wolbeck

we published 0.3.13 and verified this was resolved

ryan-wolbeck avatar Oct 13 '22 15:10 ryan-wolbeck

Thank you so much!!

xmnlab avatar Oct 13 '22 15:10 xmnlab