Name | neuronix JSON |
Version |
0.1.0
JSON |
| download |
home_page | https://github.com/username/neuron |
Summary | A Collection of Machine Learning Algorithms implemented from Scratch |
upload_time | 2025-02-01 05:16:01 |
maintainer | None |
docs_url | None |
author | Karthikeyan |
requires_python | >=3.6 |
license | MIT License
Copyright (c) 2025 Karthikeyan
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Py-neuronix
neuronn is a collection of machine learning models implemented from scratch. This library provides simple and easy-to-use implementations of various machine learning algorithms, including linear regression, multiple regression, logistic regression, k-nearest neighbors (KNN), decision trees,random forests,XGB classifier and SVM.
## Installation
You can install Neuronn using pip:
```bash
pip install neuronix
```
## Usage
Here an examples of how to use the models provided by Neuron:
### Linear Regression
```python
from neuronix import LinearRegression
import numpy as np
# Example data
X = np.array([[1], [2], [3], [4]])
y = np.array([2, 4, 6, 8])
# Create and train the model
model = LinearRegression(learning_rate=0.01, epochs=1000)
model.fit(X, y)
# Make predictions
predictions = model.predict(X)
print("Predictions:", predictions)
```
similarly implement all other algorithms
## Algorithms
neuronix includes the following machine learning algorithms:
Linear Regression - A basic regression model that fits a linear relationship between independent and dependent variables.
Multiple Linear Regression - An extension of linear regression that handles multiple input features.
Logistic Regression - A classification algorithm based on the sigmoid function for binary classification problems.
K-Nearest Neighbors (KNN) - A non-parametric method used for classification and regression based on distance metrics.
Decision Tree - A tree-based model that splits data based on feature importance to make decisions.
Random Forest - An ensemble method using multiple decision trees to improve prediction accuracy and reduce overfitting.
Support Vector Machine (SVM) - A powerful classification algorithm that finds the optimal hyperplane for separating classes.
XGBoost - An optimized gradient boosting algorithm that builds trees sequentially to minimize errors
## Contributing
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.
## Contact
For any questions or feedback, please contact [Karthikeyan](mailto:karthikkrishna0907@gmail.com).
Raw data
{
"_id": null,
"home_page": "https://github.com/username/neuron",
"name": "neuronix",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Karthikeyan",
"author_email": "Karthikeyan <karthikkrishna0907@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/c7/6c/41872c5f4f62a3d6a419700dd97664fee7e99f13f7acb4f9a9c79c78feb5/neuronix-0.1.0.tar.gz",
"platform": null,
"description": "\r\n# Py-neuronix\r\n\r\nneuronn is a collection of machine learning models implemented from scratch. This library provides simple and easy-to-use implementations of various machine learning algorithms, including linear regression, multiple regression, logistic regression, k-nearest neighbors (KNN), decision trees,random forests,XGB classifier and SVM.\r\n\r\n## Installation\r\n\r\nYou can install Neuronn using pip:\r\n\r\n```bash\r\npip install neuronix\r\n```\r\n\r\n## Usage\r\n\r\nHere an examples of how to use the models provided by Neuron:\r\n\r\n### Linear Regression\r\n\r\n```python\r\nfrom neuronix import LinearRegression\r\nimport numpy as np\r\n\r\n# Example data\r\nX = np.array([[1], [2], [3], [4]])\r\ny = np.array([2, 4, 6, 8])\r\n\r\n# Create and train the model\r\nmodel = LinearRegression(learning_rate=0.01, epochs=1000)\r\nmodel.fit(X, y)\r\n\r\n# Make predictions\r\npredictions = model.predict(X)\r\nprint(\"Predictions:\", predictions)\r\n\r\n```\r\nsimilarly implement all other algorithms\r\n\r\n## Algorithms\r\n\r\nneuronix includes the following machine learning algorithms:\r\n\r\nLinear Regression - A basic regression model that fits a linear relationship between independent and dependent variables.\r\nMultiple Linear Regression - An extension of linear regression that handles multiple input features.\r\nLogistic Regression - A classification algorithm based on the sigmoid function for binary classification problems.\r\nK-Nearest Neighbors (KNN) - A non-parametric method used for classification and regression based on distance metrics.\r\nDecision Tree - A tree-based model that splits data based on feature importance to make decisions.\r\nRandom Forest - An ensemble method using multiple decision trees to improve prediction accuracy and reduce overfitting.\r\nSupport Vector Machine (SVM) - A powerful classification algorithm that finds the optimal hyperplane for separating classes.\r\nXGBoost - An optimized gradient boosting algorithm that builds trees sequentially to minimize errors\r\n\r\n\r\n## Contributing\r\n\r\nContributions are welcome! Please open an issue or submit a pull request on GitHub.\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.\r\n\r\n## Contact\r\n\r\nFor any questions or feedback, please contact [Karthikeyan](mailto:karthikkrishna0907@gmail.com).\r\n",
"bugtrack_url": null,
"license": "MIT License\r\n \r\n Copyright (c) 2025 Karthikeyan\r\n \r\n Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \u201cSoftware\u201d), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\r\n \r\n The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\r\n \r\n THE SOFTWARE IS PROVIDED \u201cAS IS\u201d, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
"summary": "A Collection of Machine Learning Algorithms implemented from Scratch",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com",
"Issues": "https://github.com"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "03a76c3a660953753e58883cd80daec55a4b2bf7db534b774a7e895da2f79397",
"md5": "e8bad11d19665e5ee421d52e93cce618",
"sha256": "034779180cb19999cc1ea84474cd40d500714fae546923851066ed3c11074aca"
},
"downloads": -1,
"filename": "neuronix-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e8bad11d19665e5ee421d52e93cce618",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 11401,
"upload_time": "2025-02-01T05:15:59",
"upload_time_iso_8601": "2025-02-01T05:15:59.236700Z",
"url": "https://files.pythonhosted.org/packages/03/a7/6c3a660953753e58883cd80daec55a4b2bf7db534b774a7e895da2f79397/neuronix-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "c76c41872c5f4f62a3d6a419700dd97664fee7e99f13f7acb4f9a9c79c78feb5",
"md5": "a880fa36c88e6e4c5431acfe954b6139",
"sha256": "3cf8138405bb1fdaf421a55e6889914623e983d2514fa82901ce7d3da03d7863"
},
"downloads": -1,
"filename": "neuronix-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "a880fa36c88e6e4c5431acfe954b6139",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 9470,
"upload_time": "2025-02-01T05:16:01",
"upload_time_iso_8601": "2025-02-01T05:16:01.021508Z",
"url": "https://files.pythonhosted.org/packages/c7/6c/41872c5f4f62a3d6a419700dd97664fee7e99f13f7acb4f9a9c79c78feb5/neuronix-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-01 05:16:01",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "username",
"github_project": "neuron",
"github_not_found": true,
"lcname": "neuronix"
}