mirror of
https://github.com/Doctorado-ML/FImdlp.git
synced 2025-08-17 00:15:52 +00:00
Add url to pyproject and comment to mdlp
This commit is contained in:
@@ -38,6 +38,7 @@ classifiers = [
|
|||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
Home = "https://github.com/doctorado-ml/FImdlp"
|
Home = "https://github.com/doctorado-ml/FImdlp"
|
||||||
|
Base = "https://github.com/rmontanana/mdlp"
|
||||||
|
|
||||||
[tool.black]
|
[tool.black]
|
||||||
line-length = 79
|
line-length = 79
|
||||||
|
@@ -255,6 +255,7 @@ class FImdlp(TransformerMixin, BaseEstimator):
|
|||||||
f"{str(item_y)}{''.join([str(x) for x in items_x])}".encode()
|
f"{str(item_y)}{''.join([str(x) for x in items_x])}".encode()
|
||||||
for item_y, items_x in zip(self.y_, data[:, features])
|
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.target_[target] = features + [-1]
|
||||||
self.y_join_ = y_join
|
self.y_join_ = y_join
|
||||||
self.discretizer_[target].fit(self.X_[:, target], factorize(y_join))
|
self.discretizer_[target].fit(self.X_[:, target], factorize(y_join))
|
||||||
|
Reference in New Issue
Block a user