Name | regrez JSON |
Version |
2.1.9
JSON |
| download |
home_page | |
Summary | Easiest way to implement linear regression. |
upload_time | 2023-07-14 15:28:11 |
maintainer | |
docs_url | None |
author | Mehmet Utku OZTURK |
requires_python | |
license | |
keywords |
regression
machine learning
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
This is a simple Python package that aims to make using linear regression easier for programmers.
You can create a simple linear regression model as following:
```
from regrez import Models
m = Models.Simple("path/to/csv", "label for column that'll be used for x axis", "label for column that'll be used for y axis")
```
After that, you can train your model using `m.Train()` and test using `m.Test(test_x, test_y)`. Alternatively, there is a function called `m.TrainAndTest()` you can use if you only want to see how accurate would the model work. It separates 20% of the data for testing, trains the model with the rest of it, tests the model with separated data and shows how accurate your model is. You can use `m.Visualize()` after training if you want to see a plot showing both data points and the line to see how relative your variables are.
You can create a multiple regression model as following:
```
from regrez import Models
m = Models.Multiple("path/to/csv", ["X Label 1", "X Label 2", "X Label 3"], ["Y Label"])
```
After that, you can train your model using `m.Train()` and test using `m.Test(test_x, test_y)`. Alternatively, there is a function called `m.TrainAndTest()` you can use if you only want to see how accurate would the model work. It separates 20% of the data for testing, trains the model with the rest of it, tests the model with separated data and shows how accurate your model is. There is no `m.Visualize()` for multiple linear regression models.
Raw data
{
"_id": null,
"home_page": "",
"name": "regrez",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "regression,machine learning",
"author": "Mehmet Utku OZTURK",
"author_email": "<contact@\u00e6lphard.tk>",
"download_url": "https://files.pythonhosted.org/packages/62/80/f8faf828a6e413507df314d0393f50f85807fa7c2ba244b17a005326182a/regrez-2.1.9.tar.gz",
"platform": null,
"description": "This is a simple Python package that aims to make using linear regression easier for programmers.\r\n\r\nYou can create a simple linear regression model as following:\r\n\r\n```\r\nfrom regrez import Models\r\n\r\nm = Models.Simple(\"path/to/csv\", \"label for column that'll be used for x axis\", \"label for column that'll be used for y axis\")\r\n```\r\n\r\nAfter that, you can train your model using `m.Train()` and test using `m.Test(test_x, test_y)`. Alternatively, there is a function called `m.TrainAndTest()` you can use if you only want to see how accurate would the model work. It separates 20% of the data for testing, trains the model with the rest of it, tests the model with separated data and shows how accurate your model is. You can use `m.Visualize()` after training if you want to see a plot showing both data points and the line to see how relative your variables are.\r\n\r\nYou can create a multiple regression model as following:\r\n\r\n```\r\nfrom regrez import Models\r\nm = Models.Multiple(\"path/to/csv\", [\"X Label 1\", \"X Label 2\", \"X Label 3\"], [\"Y Label\"])\r\n```\r\n\r\nAfter that, you can train your model using `m.Train()` and test using `m.Test(test_x, test_y)`. Alternatively, there is a function called `m.TrainAndTest()` you can use if you only want to see how accurate would the model work. It separates 20% of the data for testing, trains the model with the rest of it, tests the model with separated data and shows how accurate your model is. There is no `m.Visualize()` for multiple linear regression models.\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Easiest way to implement linear regression.",
"version": "2.1.9",
"project_urls": null,
"split_keywords": [
"regression",
"machine learning"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6280f8faf828a6e413507df314d0393f50f85807fa7c2ba244b17a005326182a",
"md5": "b3abd4fca1807808353ba69423dd481f",
"sha256": "a6a34010f83f566d67aba1d96e74ac1b94a7ef0c3a4ddbf3813ee5b171af793d"
},
"downloads": -1,
"filename": "regrez-2.1.9.tar.gz",
"has_sig": false,
"md5_digest": "b3abd4fca1807808353ba69423dd481f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2764,
"upload_time": "2023-07-14T15:28:11",
"upload_time_iso_8601": "2023-07-14T15:28:11.193581Z",
"url": "https://files.pythonhosted.org/packages/62/80/f8faf828a6e413507df314d0393f50f85807fa7c2ba244b17a005326182a/regrez-2.1.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-14 15:28:11",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "regrez"
}