Skip to content

Commit

Permalink
critical FS bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lukapecnik committed Dec 5, 2020
1 parent 7d9c4fa commit b64445a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions niaaml/preprocessing/feature_selection/bat_algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from niaaml.preprocessing.feature_selection.feature_selection_algorithm import FeatureSelectionAlgorithm
from niaaml.utilities import ParameterDefinition, MinMax
from niaaml.preprocessing.feature_selection.utility import _FeatureSelectionThresholdBenchmark
import numpy

__all__ = [
'BatAlgorithm'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from niaaml.preprocessing.feature_selection.feature_selection_algorithm import FeatureSelectionAlgorithm
from niaaml.utilities import ParameterDefinition, MinMax
from niaaml.preprocessing.feature_selection.utility import _FeatureSelectionThresholdBenchmark
import numpy

__all__ = [
'DifferentialEvolution'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from niaaml.preprocessing.feature_selection.feature_selection_algorithm import FeatureSelectionAlgorithm
from niaaml.utilities import ParameterDefinition, MinMax
from niaaml.preprocessing.feature_selection.utility import _FeatureSelectionThresholdBenchmark
import numpy

__all__ = [
'GreyWolfOptimizer'
Expand Down
1 change: 1 addition & 0 deletions niaaml/preprocessing/feature_selection/jDEFSTH.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from sklearn.linear_model import LogisticRegression
from niaaml.preprocessing.feature_selection.feature_selection_algorithm import FeatureSelectionAlgorithm
from niaaml.preprocessing.feature_selection.utility import _FeatureSelectionThresholdBenchmark
import numpy

__all__ = [
'jDEFSTH'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import sys
from NiaPy.algorithms.basic import ParticleSwarmOptimization as PSO
from NiaPy.task import StoppingTask
from sklearn.model_selection import train_test_split
from sklearn.linear_model import LogisticRegression
from niaaml.preprocessing.feature_selection.feature_selection_algorithm import FeatureSelectionAlgorithm
from niaaml.utilities import ParameterDefinition, MinMax
import numpy as np
import numpy
from niaaml.preprocessing.feature_selection.utility import _FeatureSelectionThresholdBenchmark

__all__ = [
Expand Down
2 changes: 2 additions & 0 deletions niaaml/preprocessing/feature_selection/utility.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
from niaaml.utilities import Factory
import niaaml.preprocessing.feature_selection as fs
from NiaPy.benchmarks import Benchmark
from sklearn.model_selection import train_test_split
from sklearn.linear_model import LogisticRegression

__all__ = [
'FeatureSelectionAlgorithmFactory',
Expand Down

0 comments on commit b64445a

Please sign in to comment.