Skip to main content

A collection of machine learning algorithm implementations with ready-to-use experiments

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.2.tar.gz (2.4 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.2-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_expokar-0.1.2.tar.gz
  • Upload date:
  • Size: 2.4 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.2.tar.gz
Algorithm Hash digest
SHA256 d6f83fea74f3ca7d81828be0844680d78cf3f63fc3a112b6a75a4d3bd92911be
MD5 9d48a4637698ce6a63e3fbb344beb38c
BLAKE2b-256 0665030db7ded716d8319bd4228d4309fc8fa531702b6c026bc21f1fe09090c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_expokar-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9511687d9db0f786dc564c07814d563671b659156c0bc619f2ebf62a3358e3a3
MD5 b5c6e44be2c3bd5ac50fd7bef947b661
BLAKE2b-256 24862bf61501e7e9bb76a6ed84ec68823e6c5dae150364e1d38c1a4bef5698c9

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