Skip to content

Commit

Permalink
remove slice sampler, fit returns self
Browse files Browse the repository at this point in the history
  • Loading branch information
ColtAllen committed Oct 20, 2023
1 parent 03fdcb3 commit c8e9fa1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pymc_marketing/clv/models/pareto_nbd.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import warnings
from typing import Any, Dict, Optional, Sequence, Tuple, TypeVar, Union
from typing import Any, Dict, Optional, Sequence, Tuple, Union

import numpy as np
import pandas as pd
Expand All @@ -20,8 +20,6 @@
from pymc_marketing.clv.models.basic import CLVModel
from pymc_marketing.clv.utils import to_xarray

SELF = TypeVar("SELF")


@node_rewriter([Elemwise])
def local_reduce_max_num_iters_hyp2f1_grad(fgraph, node):
Expand Down Expand Up @@ -326,7 +324,7 @@ def fit(self, fit_method: str = "map", **kwargs): # type: ignore
action="ignore",
category=UserWarning,
)
super().fit(fit_method, **kwargs) # type: ignore
super().fit(fit_method, **kwargs)

return self

Expand Down

0 comments on commit c8e9fa1

Please sign in to comment.