Skip to content

Commit

Permalink
fix: remove Model as suffix in XGB model name, update version to 2.1.1 (
Browse files Browse the repository at this point in the history
  • Loading branch information
phamhoangtuan authored May 5, 2023
1 parent 214f6d1 commit 892a8dc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion h1st/model/ml/xgboost/classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


class XGBClassifierModel(XGBRegressionModel):
name = 'XGBClassifierModel'
name = 'XGBClassifier'

def predict(self, input_data: dict) -> dict:
pred = super().predict(input_data)[self.output_key]
Expand Down
2 changes: 1 addition & 1 deletion h1st/model/ml/xgboost/regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class XGBRegressionModel(Model):

input_key = 'X'
output_key = 'predictions'
name = 'XGBRegressionModel'
name = 'XGBRegression'

def __init__(
self,
Expand Down
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 = "h1st"
version = "2.1.0"
version = "2.1.1"
description = "Human-First AI (H1st)"
authors = ["Aitomatic, Inc. <engineering@aitomatic.com>"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

[metadata]
name = h1st
version = 2.1.0
version = 2.1.1

0 comments on commit 892a8dc

Please sign in to comment.