🧠 Neurogenesis
Python Version: 3.11.9
Status: ⚠️ Pre-Alpha (Under Active Development)
Neurogenesis is a lightweight, educational machine learning library built from scratch in Python. Its primary aim is to focus on simplicity to aid in learning and to provide a platform for experimentation of unique ideas without having to face complex production-grade codebases of popular libraries which are highly optimized for performance.
🚧 Disclaimer:
Neurogenesis is currently in its early development stages. Expect incomplete features, bugs, and minimal optimization. Restructuring, refactoring, and formal documentation are planned for future releases.
✅ Algorithms Implemented (v0.0.1)
- K-Nearest Neighbors (KNN)
- Linear Regression
- Logistic Regression
- Naive Bayes
- Support Vector Machine (SVM) – Binary Classification
- Decision Tree
- Random Forest
📌 Planned for v1.0.0
- KNN
- Linear Regression
- Logistic Regression
- Naive Bayes
- SVM
- Decision Tree
- Random Forest
- K-Means Clustering
- AdaBoost
- Artificial Neural Networks (ANN)
- Convolutional Neural Networks (CNN)
🚀 Installation
Install Neurogenesis via pip:
pip install neurogenesis
⚙️ How to use
Here's a basic example using the RandomForest classifier:
import numpy as np
from sklearn import datasets
from sklearn.model_selection import train_test_split
from neurogenesis.models import RandomForest
data = datasets.load_breast_cancer()
X = data.data
y = data.target
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)
clf = RandomForest(n_trees=3)
clf.fit(X_train, y_train)
y_pred = clf.predict(X_test)
acc = accuracy(y_test, y_pred)
print("Accuracy:", np.sum(y_true == y_pred) / len(y_true))
🧪 Make sure your data (X_train, y_train, X_test, y_test) is preprocessed and in the correct format (e.g., NumPy arrays).
📄 License
This project is licensed under the GNU General Public License v3.0.
You may redistribute, modify, and/or use the code under the terms of this license.
Please see the full license text online:
🔗 https://www.gnu.org/licenses/gpl-3.0.en.html
⚠️ Note: Any derivative works must also be licensed under GPLv3 or a compatible license.
🙋♂️ Contributing
Contributions, bug reports, and feature requests are welcome!
If you'd like to improve the library, fix a bug, or suggest a new algorithm, feel free to open an issue or submit a pull request.
📧 mzainkhalidofficial@gmail.com
🔗 GitHub Issues
Thanks to the open-source community for continuous inspiration and learning!
Metadata
Release files for neurogenesis 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| neurogenesis-0.0.1.tar.gz | 20.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| neurogenesis-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.8 kB
Release files / neurogenesis-0.0.1.tar.gz
| Download URL | neurogenesis-0.0.1.tar.gz |
|---|---|
| Size | 20.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b659b381cd0a35ddabb5725940c066df84641ad14f01d2cd409d4f86e369611a
|
|
BLAKE2b-256 checksum How to use checksums |
673be500719eaaa152c74885edded34fd506fe99881e438d94d169d5c2439f4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.9
|
Release files / neurogenesis-0.0.1-py3-none-any.whl
| Download URL | neurogenesis-0.0.1-py3-none-any.whl |
|---|---|
| Size | 22.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19c6f8308df5fe30644ca55a19867d9a30503b343ae6e417fa8cf35ea95f933f
|
|
BLAKE2b-256 checksum How to use checksums |
8b6ddb130f49a585d3ee1eb49cd8a1804a3ea97aac4f9db2d71a61e2d4e59007
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.9
|
Security for neurogenesis 0.0.1
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.