Add url to pyproject and comment to mdlp

This commit is contained in:
2023-04-25 17:53:36 +02:00
parent dd42e186d5
commit 6e17548563
2 changed files with 2 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ classifiers = [
[project.urls]
Home = "https://github.com/doctorado-ml/FImdlp"
Base = "https://github.com/rmontanana/mdlp"
[tool.black]
line-length = 79

View File

@@ -255,6 +255,7 @@ class FImdlp(TransformerMixin, BaseEstimator):
f"{str(item_y)}{''.join([str(x) for x in items_x])}".encode()
for item_y, items_x in zip(self.y_, data[:, features])
]
# Store in target_ the features used with class to discretize target
self.target_[target] = features + [-1]
self.y_join_ = y_join
self.discretizer_[target].fit(self.X_[:, target], factorize(y_join))