A Python library
Project description
adAI
A Python library for making AI/Machine Learning easier and more accessible. Start with simple neural network components like perceptrons and build from there.
Installation
pip install adAI
Or for development:
git clone https://github.com/yourusername/adAI.git
cd adAI
pip install -e ".[dev]"
Quick Start - Generate a Perceptron
import numpy as np
from adAI import GeneratePerceptron
# Create a perceptron with 5 input features
perceptron = GeneratePerceptron(input_size=5, epochs=100)
# Train on your data
X_train = np.random.randn(100, 5)
y_train = np.random.randint(0, 2, 100)
perceptron.train(X_train, y_train)
# Make predictions
predictions = perceptron.predict(X_test)
Features
- GeneratePerceptron() - Automatically create and initialize a perceptron
- Multiple activation functions (sigmoid, relu, tanh)
- Easy training and prediction
- Built-in loss tracking
- Growing library of AI components
Configuration Options
perceptron = GeneratePerceptron(
input_size=10, # Number of input features
learning_rate=0.01, # Learning rate (default: 0.01)
epochs=100, # Number of training epochs (default: 100)
activation="sigmoid" # Activation: "sigmoid", "relu", "tanh" (default: "sigmoid")
)
Documentation
For complete documentation, visit adAI documentation.
Testing
Run tests with pytest:
pytest
Run tests with coverage:
pytest --cov=src/adAI
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file adaiml_tools-0.1.0.tar.gz.
File metadata
- Download URL: adaiml_tools-0.1.0.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2902233f4c71da62b128afd30347b8d4dc6c746c467b2db9a1b34e344e583ba
|
|
| MD5 |
faec74467ed5d72b4ba71cfdfda794bd
|
|
| BLAKE2b-256 |
b4c724b6c161771f61f1d456bc9210d61693bb4334c6f9ec154ee06eddf5e6b9
|
File details
Details for the file adaiml_tools-0.1.0-py3-none-any.whl.
File metadata
- Download URL: adaiml_tools-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d06b6d8ebed88f4a46ef186138621f04b18ff0e1673ef8e3d9deb220f45807e
|
|
| MD5 |
3a7a5bbcba2d8afa266034f98c336b9d
|
|
| BLAKE2b-256 |
29835ff9fd4b817155e4decabaa341718be3bd3dc792414f5cbe6a3851ef78c0
|