Skip to content

Commit

Permalink
Add setup file
Browse files Browse the repository at this point in the history
  • Loading branch information
thieupu committed Dec 2, 2023
1 parent ed600f6 commit 897592c
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ tests/test_Mha*
docs/
README.md
metaperceptron34234/
setup.py

examples/utils/
examples/exam_mha*
# Pycharm
Expand Down
80 changes: 80 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
#!/usr/bin/env python
# Created by "Thieu" at 13:24, 25/05/2022 ----------%
# Email: nguyenthieu2102@gmail.com %
# Github: https://github.com/thieu1995 %
# --------------------------------------------------%

from setuptools import setup, find_packages


def readme():
with open('README.md', encoding='utf-8') as f:
README = f.read()
return README


setup(
name="metaperceptron",
version="1.0.0",
author="Thieu",
author_email="nguyenthieu2102@gmail.com",
description="MetaPerceptron: Unleashing the Power of Metaheuristic-optimized Multi-Layer Perceptron - A Python Library",
long_description=readme(),
long_description_content_type="text/markdown",
keywords=["multi-layer perceptron", "machine learning", "artificial intelligence",
"deep learning", "neural networks", "single hidden layer network",
"random projection", "FLANN", "feed-forward neural network", "artificial neural network",
"classification", "regression", "supervised learning", "online learning", "generalization",
"optimization algorithms", "Kernel MLP", "Cross-validation"
"Genetic algorithm (GA)", "Particle swarm optimization (PSO)", "Ant colony optimization (ACO)",
"Differential evolution (DE)", "Simulated annealing", "Grey wolf optimizer (GWO)",
"Whale Optimization Algorithm (WOA)", "confusion matrix", "recall", "precision", "accuracy",
"pearson correlation coefficient (PCC)", "spearman correlation coefficient (SCC)",
"Global optimization", "Convergence analysis", "Search space exploration", "Local search",
"Computational intelligence", "Robust optimization", "metaheuristic", "metaheuristic algorithms",
"nature-inspired computing", "nature-inspired algorithms", "swarm-based computation",
"metaheuristic-based multi-layer perceptron", "metaheuristic-optimized MLP",
"Performance analysis", "Intelligent optimization", "Simulations"],
url="https://github.com/thieu1995/MetaPerceptron",
project_urls={
'Documentation': 'https://metaperceptron.readthedocs.io/',
'Source Code': 'https://github.com/thieu1995/MetaPerceptron',
'Bug Tracker': 'https://github.com/thieu1995/MetaPerceptron/issues',
'Change Log': 'https://github.com/thieu1995/MetaPerceptron/blob/master/ChangeLog.md',
'Forum': 'https://t.me/+fRVCJGuGJg1mNDg1',
},
packages=find_packages(exclude=['tests*', 'examples*']),
include_package_data=True,
license="GPLv3",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: System :: Benchmark",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
],
install_requires=["numpy>=1.17.1", "scipy>=1.7.1", "scikit-learn>=1.0.2",
"pandas>=1.3.5", "mealpy>=3.0.1", "permetrics>=1.5.0",
"torch>=2.0.0", "skorch>=0.13.0"],
extras_require={
"dev": ["pytest>=7.0", "pytest-cov==4.0.0", "flake8>=4.0.1"],
},
python_requires='>=3.8',
)

0 comments on commit 897592c

Please sign in to comment.