torch-rating 0.0.1b0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Jakub Sukdol
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,81 @@
1
+ Metadata-Version: 2.1
2
+ Name: torch-rating
3
+ Version: 0.0.1b0
4
+ Summary: Seamless integration of sports rating systems as layers into pytorch environment
5
+ Author-email: Jakub Sukdol <sukdojak@fel.cvut.cz>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2023 Jakub Sukdol
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ Project-URL: repository, https://github.com/kubosis/torch-rating
29
+ Keywords: GNN,Sport prediction,Rating
30
+ Classifier: Development Status :: 4 - Beta
31
+ Classifier: Programming Language :: Python
32
+ Requires-Python: >=3.10
33
+ Description-Content-Type: text/markdown
34
+ License-File: LICENSE
35
+ Requires-Dist: torch>=2.1.2
36
+ Requires-Dist: numpy>=1.24.4
37
+
38
+ ![Flake8 Status](https://github.com/kubosis/torch-rating/actions/workflows/quality.yml/badge.svg)
39
+ [![PyPI version](https://badge.fury.io/py/torch-rating.svg)](https://badge.fury.io/py/torch-rating)
40
+
41
+
42
+ ![NeRa LOGO](https://github.com/kubosis/torch-rating/blob/main/docs/logo3.png?raw=true)
43
+
44
+ PyTorch based package for incorporating rating systems to neural networks. This package provides model rating layers. The resulting RatingRGNN can be found [here](https://github.com/kubosis/rating_gnn)
45
+
46
+ ### Prerequisities
47
+
48
+ ```
49
+ Python >= 3.10
50
+ ```
51
+
52
+ ### Installation
53
+
54
+ ```commandline
55
+ pip install --upgrade pip
56
+ pip install torch-rating
57
+ ```
58
+
59
+ ### Nera - Neural rating
60
+
61
+ This package implements seamless integration of statistical rating systems into graph neural network in the PyTorch environment.
62
+ This project was developed as my Bachelor's thesis.
63
+
64
+ ### Implemented rating layers and recurrent graph neural network architectures
65
+
66
+ - Elo rating
67
+ - Berrar rating
68
+ - Pi rating
69
+
70
+ ![RatingRGNN architecture](https://raw.githubusercontent.com/kubosis/torch-rating/2d80c8f9b6f3faaf0a5a8e1d9cbecc8c7a2f44f3/docs/img/ratingRGNN.svg)
71
+
72
+
73
+ ### Showcases of predictive validation accuracy on collected datasets:
74
+
75
+ Note: the RatingRGNN was fine-tuned only on the NBL dataset and then applied across the other.
76
+
77
+ ![RatingRGNN architecture](https://github.com/kubosis/torch-rating/blob/main/docs/img/validation.png?raw=true)
78
+
79
+ Note: the accuracy is across time snapshots. These snapshots represent seasons. They do not represents epochs of iterating the whole dataset. The training was done only for one epoch.
80
+
81
+ ![RatingRGNN architecture](https://github.com/kubosis/torch-rating/blob/main/docs/img/train_val_acc.png?raw=true)
@@ -0,0 +1,44 @@
1
+ ![Flake8 Status](https://github.com/kubosis/torch-rating/actions/workflows/quality.yml/badge.svg)
2
+ [![PyPI version](https://badge.fury.io/py/torch-rating.svg)](https://badge.fury.io/py/torch-rating)
3
+
4
+
5
+ ![NeRa LOGO](https://github.com/kubosis/torch-rating/blob/main/docs/logo3.png?raw=true)
6
+
7
+ PyTorch based package for incorporating rating systems to neural networks. This package provides model rating layers. The resulting RatingRGNN can be found [here](https://github.com/kubosis/rating_gnn)
8
+
9
+ ### Prerequisities
10
+
11
+ ```
12
+ Python >= 3.10
13
+ ```
14
+
15
+ ### Installation
16
+
17
+ ```commandline
18
+ pip install --upgrade pip
19
+ pip install torch-rating
20
+ ```
21
+
22
+ ### Nera - Neural rating
23
+
24
+ This package implements seamless integration of statistical rating systems into graph neural network in the PyTorch environment.
25
+ This project was developed as my Bachelor's thesis.
26
+
27
+ ### Implemented rating layers and recurrent graph neural network architectures
28
+
29
+ - Elo rating
30
+ - Berrar rating
31
+ - Pi rating
32
+
33
+ ![RatingRGNN architecture](https://raw.githubusercontent.com/kubosis/torch-rating/2d80c8f9b6f3faaf0a5a8e1d9cbecc8c7a2f44f3/docs/img/ratingRGNN.svg)
34
+
35
+
36
+ ### Showcases of predictive validation accuracy on collected datasets:
37
+
38
+ Note: the RatingRGNN was fine-tuned only on the NBL dataset and then applied across the other.
39
+
40
+ ![RatingRGNN architecture](https://github.com/kubosis/torch-rating/blob/main/docs/img/validation.png?raw=true)
41
+
42
+ Note: the accuracy is across time snapshots. These snapshots represent seasons. They do not represents epochs of iterating the whole dataset. The training was done only for one epoch.
43
+
44
+ ![RatingRGNN architecture](https://github.com/kubosis/torch-rating/blob/main/docs/img/train_val_acc.png?raw=true)