mirror of
https://github.com/Doctorado-ML/mufs.git
synced 2025-08-16 16:15:56 +00:00
Fix format issue
This commit is contained in:
@@ -128,7 +128,7 @@ class MUFS:
|
|||||||
k = len(features)
|
k = len(features)
|
||||||
for pair in list(combinations(features, 2)):
|
for pair in list(combinations(features, 2)):
|
||||||
rff += self._compute_su_features(*pair)
|
rff += self._compute_su_features(*pair)
|
||||||
return rcf / sqrt(k + (k ** 2 - k) * rff)
|
return rcf / sqrt(k + (k**2 - k) * rff)
|
||||||
|
|
||||||
def cfs(self, X, y):
|
def cfs(self, X, y):
|
||||||
"""Correlation-based Feature Selection
|
"""Correlation-based Feature Selection
|
||||||
|
Reference in New Issue
Block a user