Skip to content

Commit

Permalink
[Release] v0.1.5 (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
RektPunk authored Jul 21, 2024
1 parent 5bbe58d commit 87a312b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion mqboost/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from mqboost.engine import MQRegressor

__version__ = "0.1.4"
__version__ = "0.1.5"
8 changes: 4 additions & 4 deletions mqboost/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,10 @@ def __optuna_objective(
def MQObj(self) -> MQObjective:
return self._MQObj

@property
def study(self) -> optuna.Study:
return getattr(self, "_study", None)

@property
def __is_lgb(self) -> bool:
return self._model == ModelName.lightgbm
Expand All @@ -282,7 +286,3 @@ def __is_xgb(self) -> bool:
def __is_fitted(self) -> None:
if not getattr(self, "_fitted", False):
raise FittingException("train must be executed before predict")

@property
def study(self) -> optuna.Study:
return getattr(self, "_study", None)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mqboost"
version = "0.1.4"
version = "0.1.5"
description = "Monotonic composite quantile gradient boost regressor"
authors = ["RektPunk <rektpunk@gmail.com>"]
readme = "README.md"
Expand Down

0 comments on commit 87a312b

Please sign in to comment.