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.1.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.1-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_expokar-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 4a0d24a47dba990aa7e44230fbb866f0ceb789b23d566811d2ab7b8f7116fde8
MD5 35e0ab7e7b556a73611863abd6228f3b
BLAKE2b-256 6c042e8ab76e495c74d77d7291077a525e3b39fe363e590143a0414b5f3123bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_expokar-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f855187c2d1e41125f60cecd328fac507ea8edddb700064ea6764c623ba1ff57
MD5 175631525ae1ecd8812371cbbe411f8d
BLAKE2b-256 7f2ce69d324e745d028229c8e513115c23af0cef740387361636eddfcccd1da8

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