Skip to content

Commit

Permalink
Restructure
Browse files Browse the repository at this point in the history
  • Loading branch information
adnankarol authored and adnankarol committed Aug 1, 2024
1 parent 68912bf commit e4070a6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion __init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
from classifierAgent import classifierAgent
Empty file added classifierAgent/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion classifierAgent.py → classifierAgent/classifierAgent.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def plot_confusion_matrix(y_true, y_pred, model_name, show_plot=True):
if show_plot:
plt.show()

def classifierAgent(dataset, output_column, train_test_ratio, scaling_method=None, perform_grid_search=False, save_models=False, show_confusion_matrix=False, show_classification_report=False):
def classifier(dataset, output_column, train_test_ratio, scaling_method=None, perform_grid_search=False, save_models=False, show_confusion_matrix=False, show_classification_report=False):
"""
Trains multiple classifiers on the provided dataset and returns their performance metrics.
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ def parse_requirements(filename):

setup(
name='classifierAgent',
version='1.0.8',
version='1.0.9',
description='A Python package for performing classification on datasets.',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/adnanmushtaq1996/ML-Classifier-Python-Package',
url='https://github.com/adnankarol/classifierAgent',
author='Adnan Karol',
author_email='adnanmushtaq5@gmail.com',
license='MIT',
Expand Down

0 comments on commit e4070a6

Please sign in to comment.