Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
lukapecnik committed May 23, 2021
1 parent fd224ef commit e605b73
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 21 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
author = "Luka Pečnik"

# The full version, including alpha/beta/rc tags
release = "1.1.2"
release = "1.1.3"


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion niaaml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
]

__project__ = "niaaml"
__version__ = "1.1.2"
__version__ = "1.1.3"
2 changes: 0 additions & 2 deletions niaaml/classifiers/decision_tree.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from niaaml.classifiers.classifier import Classifier
from niaaml.utilities import MinMax
from niaaml.utilities import ParameterDefinition
from sklearn.tree import DecisionTreeClassifier as DTC
import numpy as np

import warnings
from sklearn.exceptions import (
Expand Down
3 changes: 0 additions & 3 deletions niaaml/classifiers/gaussian_naive_bayes.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
from niaaml.classifiers.classifier import Classifier
from niaaml.utilities import MinMax
from niaaml.utilities import ParameterDefinition
from sklearn.naive_bayes import GaussianNB as GNB
import numpy as np

import warnings
from sklearn.exceptions import (
Expand Down
2 changes: 0 additions & 2 deletions niaaml/classifiers/k_neighbors.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from niaaml.classifiers.classifier import Classifier
from niaaml.utilities import MinMax
from niaaml.utilities import ParameterDefinition
from sklearn.neighbors import KNeighborsClassifier as KNC
import numpy as np

import warnings
from sklearn.exceptions import (
Expand Down
2 changes: 0 additions & 2 deletions niaaml/classifiers/multi_layer_perceptron.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from niaaml.classifiers.classifier import Classifier
from niaaml.utilities import MinMax
from niaaml.utilities import ParameterDefinition
from sklearn.neural_network import MLPClassifier
import numpy as np

import warnings
from sklearn.exceptions import (
Expand Down
3 changes: 0 additions & 3 deletions niaaml/classifiers/quadratic_driscriminant_analysis.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
from niaaml.classifiers.classifier import Classifier
from niaaml.utilities import MinMax
from niaaml.utilities import ParameterDefinition
from sklearn.discriminant_analysis import QuadraticDiscriminantAnalysis as QDA
import numpy as np

import warnings
from sklearn.exceptions import (
Expand Down
1 change: 0 additions & 1 deletion niaaml/data/csv_data_reader.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import csv
import pandas as pd
from niaaml.data.data_reader import DataReader

Expand Down
3 changes: 0 additions & 3 deletions niaaml/pipeline_component.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import numpy as np
from niaaml.utilities import MinMax

__all__ = ["PipelineComponent"]


Expand Down
1 change: 0 additions & 1 deletion niaaml/preprocessing/encoding/utility.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from niaaml.utilities import Factory
import pandas as pd
import numpy as np
from niaaml.preprocessing.encoding.one_hot_encoder import OneHotEncoder

__all__ = ["encode_categorical_features", "EncoderFactory"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from niaaml.preprocessing.feature_selection.feature_selection_algorithm import (
FeatureSelectionAlgorithm,
)
from niaaml.utilities import ParameterDefinition, MinMax
from niaaml.preprocessing.feature_selection._feature_selection_threshold_benchmark import (
_FeatureSelectionThresholdBenchmark,
)
Expand Down
1 change: 1 addition & 0 deletions niaaml/preprocessing/feature_transform/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@
"MaxAbsScaler",
"RobustScaler",
"FeatureTransformAlgorithmFactory",
"QuantileTransformer",
]
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "NiaAML"
version = "1.1.2"
version = "1.1.3"
description = "Python automated machine learning framework."
license = "MIT"
authors = ["Luka Pečnik <lukapecnik96@gmail.com>", "Iztok Fister Jr. <iztok.fister1@um.si>"]
Expand Down

0 comments on commit e605b73

Please sign in to comment.