Skip to main content

A collection of machine learning algorithm implementations including Logistic Regression, SVM, Neural Networks, and PCA

Project description

Python Expokar

A comprehensive collection of machine learning algorithm implementations including Logistic Regression, Support Vector Machines (SVM), Neural Networks, Principal Component Analysis (PCA), and more.

Installation

pip install python-expokar

Features

  • Logistic Regression: Implementation with various regularization options
  • Support Vector Machines: Implementation with multiple kernel options
  • Neural Networks: McCulloch-Pitts neuron and Hebbian learning implementations
  • Principal Component Analysis (PCA): Dimensionality reduction implementation
  • Ridge and Lasso Regression: Regularized linear regression implementations

Usage Examples

Logistic Regression

from python_expokar.logistic_regression import CustomLogisticRegression

# Create and train the model
model = CustomLogisticRegression(learning_rate=0.01, n_iterations=1000)
model.fit(X_train, y_train)

# Make predictions
predictions = model.predict(X_test)

Support Vector Machine

from python_expokar.svm import SVM

# Train SVM with different kernels
svm_model = SVM(kernel='rbf', gamma='scale', C=1.0)
svm_model.fit(X_train, y_train)

Neural Networks

from python_expokar.neural_networks import HebbianNeuron

# Create and train a Hebbian neuron
neuron = HebbianNeuron(input_size=2, learning_rate=0.1)
neuron.train_hebbian(X_train, y_train)

Requirements

  • Python >= 3.6
  • NumPy >= 1.19.0
  • scikit-learn >= 0.24.0
  • matplotlib >= 3.3.0
  • pandas >= 1.2.0
  • seaborn >= 0.11.0

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_expokar-0.1.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_expokar-0.1.0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file python_expokar-0.1.0.tar.gz.

File metadata

  • Download URL: python_expokar-0.1.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for python_expokar-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f38049d9940b83d1e31ba99494b10651c6137f14722e31538bbbe578d5baa0fd
MD5 56038acb9e8e34280ad0da306969e4ce
BLAKE2b-256 ba9226f86b7e75e6e3592fb475afb3962d4eae79369ed3f1eef9227cb3d7934c

See more details on using hashes here.

File details

Details for the file python_expokar-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: python_expokar-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for python_expokar-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c7846fc1ad3dc7f9b10183d577ee50808c65ffc0c7bbe22ae301506f485d114
MD5 d509538512a7cb2f98bfc90c58a5718e
BLAKE2b-256 ccc4636873522e90d100652733d3d7ad3c72a555ce581c63299d339addccb28f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page