mirror of
https://github.com/Doctorado-ML/mufs.git
synced 2025-08-17 16:45:53 +00:00
update and complete sample code
This commit is contained in:
@@ -47,17 +47,17 @@ class MFS_test(unittest.TestCase):
|
||||
|
||||
def test_csf_wine_cont(self):
|
||||
mfs = MFS(discrete=False)
|
||||
expected = [10, 6, 0, 2, 9, 7]
|
||||
expected = [10, 6, 0, 2, 11, 9]
|
||||
self.assertListEqual(
|
||||
expected, mfs.cfs(self.X_wc, self.y_w).get_results()
|
||||
)
|
||||
expected = [
|
||||
0.735264150416997,
|
||||
0.8279580852902876,
|
||||
0.7828768186880067,
|
||||
0.7279815238718462,
|
||||
0.6287944059925545,
|
||||
0.5416637958201808,
|
||||
0.8321684551546848,
|
||||
0.7439915858469107,
|
||||
0.6238883340158233,
|
||||
0.513637402071709,
|
||||
0.41596400981378984,
|
||||
]
|
||||
self.assertListAlmostEqual(expected, mfs.get_scores())
|
||||
|
||||
|
Reference in New Issue
Block a user