Skip to main content

amey_ml

Overview

amey_ml is a versatile Python machine learning package providing a range of algorithms for different kinds of data processing and machine learning tasks. It includes implementations of popular algorithms such as Naive Bayes, Linear Regression, Neural Networks using Keras, Decision Trees, K-Nearest Neighbors, and K-Means Clustering. This package is designed to be user-friendly, efficient, and easily integrable into data analysis pipelines.

Installation

To install amey_ml, simply run the following command:

pip install amey_ml

Features

amey_ml includes the following modules and functions:

  1. Naive Bayes (naive_bayes.py)

    • output(training_file, test_file): Perform Naive Bayes classification.
  2. Linear Regression (linear_regression.py)

    • output(training_file, test_file, degree, lambda1): Perform regularized linear regression.
  3. Neural Networks with Keras (nn_keras.py)

    • output(directory, dataset, layers, units_per_layer, epochs): Train and evaluate neural network models.
  4. Decision Trees (decision_tree.py)

    • output(train_path, test_path, model_type, threshold): Train decision trees or random forests.
  5. K-Nearest Neighbors (knn_classify.py)

    • output(training_file, test_file, k): Implement K-nearest neighbors classification.
  6. K-Means Clustering (k_means.py)

    • output(data_file, K, initialization): Perform K-means clustering on a dataset.

Each function is designed to be straightforward to use, requiring only the necessary parameters for each specific algorithm.

Installing this package will install scikit-learn, tensorflow, pandas, scikit-learn, and keras by default.

Usage

To use amey_ml, first import the required function from the package and then call it with the necessary parameters. Here are some example usages:

from amey_ml import naive_bayes, linear_regression, nn_keras

from amey_ml import decision_tree, knn_classify, k_means



# Naive Bayes

naive_bayes.output('training_data.csv', 'test_data.csv')



# Linear Regression

linear_regression.output('train.csv', 'test.csv', 2, 0.01)



# Neural Networks using Keras

nn_keras.output('data_directory/', 'dataset_name', 3, 64, 10)



# Decision Trees

decision_tree.output('train_data.csv', 'test_data.csv', 'optimized', 0.05)



# K-Nearest Neighbors

knn_classify.output('train.csv', 'test.csv', 5)



# K-Means Clustering

k_means.output('data.csv', 3, 'random')

Documentation

Each function in the amey_ml package comes with detailed docstrings explaining the functionality,

parameters, and return types. For more detailed documentation, refer to the docstrings within each function.

Contributing

Contributions to amey_ml are welcome! If you'd like to contribute, please contact me at amey.shinde@bizzencecollab.com. Please fork the repository and use a

feature branch. Pull requests are warmly welcome.

Licensing

The code in this project is licensed under MIT license.

GitHub

https://github.com/Pistonamey/amey_ml/

Metadata

Release files for amey-ml 0.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for amey-ml 0.1.10
File Size Uploaded Provenance Actions
amey_ml-0.1.10.tar.gz 14.5 kB Without provenance Details for amey_ml-0.1.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for amey-ml 0.1.10
File Interpreter ABI Platform Actions
amey_ml-0.1.10-py3-none-any.whl Python 3 none any Details for amey_ml-0.1.10-py3-none-any.whl

Total release size: 30.5 kB

Release files / amey_ml-0.1.10.tar.gz

Download URL amey_ml-0.1.10.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
577cadd5169136a90c221c4cb7c70bda4e9201b9f038d02d569f974c7489566e
BLAKE2b-256 checksum
How to use checksums
deb79153879bde0ce5d6a0d70bd2fd68feeb68e9f26c187340c252f86d4f711b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release files / amey_ml-0.1.10-py3-none-any.whl

Download URL amey_ml-0.1.10-py3-none-any.whl
Size 16.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a64d698c902ef53e93321ff421e8ae68f2b608580114643b415e697d4bfae1f
BLAKE2b-256 checksum
How to use checksums
7807b446d591e4dfa67ec95762b8e24a61c9f1444f1aaefc2ad183dfc50e3427
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Security for amey-ml 0.1.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page