Skip to content

Commit

Permalink
Merge pull request #414 from jakobrunge/developer
Browse files Browse the repository at this point in the history
updated regressionCI
  • Loading branch information
jakobrunge authored Jun 27, 2024
2 parents 2b6dbc4 + f1ea63e commit e65874a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def run(self):
# Run the setup
setup(
name="tigramite",
version="5.2.5.8",
version="5.2.5.9",
packages=["tigramite", "tigramite.independence_tests", "tigramite.toymodels"],
license="GNU General Public License v3.0",
description="Tigramite causal inference for time series",
Expand Down
2 changes: 1 addition & 1 deletion tigramite/independence_tests/regressionCI.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def calc_deviance_logistic(X, y, var_type):
X = do_componentwise_one_hot_encoding(X, var_type=var_type)
y = np.ravel(y)
# do logistic regression
model = LogisticRegression(multi_class='multinomial', solver='lbfgs')
model = LogisticRegression(solver='lbfgs')
model.fit(X, y)
deviance = 2*metrics.log_loss(y, model.predict_proba(X), normalize=False)
# dofs: +2 for intercept (+1) (not too important, cancels out later anyway)
Expand Down

0 comments on commit e65874a

Please sign in to comment.