mirror of
https://github.com/Doctorado-ML/mufs.git
synced 2025-08-17 16:45:53 +00:00
Mask false lgtm positive
This commit is contained in:
@@ -178,7 +178,10 @@ class MFS:
|
|||||||
float
|
float
|
||||||
The merit of the feature set passed
|
The merit of the feature set passed
|
||||||
"""
|
"""
|
||||||
rcf = self._su_labels[features].sum()
|
# lgtm has already recognized that this is a false positive
|
||||||
|
rcf = self._su_labels[
|
||||||
|
features
|
||||||
|
].sum() # lgtm [py/hash-unhashable-value]
|
||||||
rff = 0.0
|
rff = 0.0
|
||||||
k = len(features)
|
k = len(features)
|
||||||
for pair in list(combinations(features, 2)):
|
for pair in list(combinations(features, 2)):
|
||||||
|
Reference in New Issue
Block a user