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.
- torch_rating-0.0.1b0/LICENSE +21 -0
- torch_rating-0.0.1b0/PKG-INFO +81 -0
- torch_rating-0.0.1b0/README.md +44 -0
- torch_rating-0.0.1b0/docs/img/ratingRGNN.svg +4 -0
- torch_rating-0.0.1b0/docs/logo2.webp +0 -0
- torch_rating-0.0.1b0/docs/logo3.webp +0 -0
- torch_rating-0.0.1b0/nera/__init__.py +0 -0
- torch_rating-0.0.1b0/nera/models/__init__.py +5 -0
- torch_rating-0.0.1b0/nera/models/_berrar.py +60 -0
- torch_rating-0.0.1b0/nera/models/_elo.py +54 -0
- torch_rating-0.0.1b0/nera/models/_general_rating.py +53 -0
- torch_rating-0.0.1b0/nera/models/_pi.py +79 -0
- torch_rating-0.0.1b0/pyproject.toml +36 -0
- torch_rating-0.0.1b0/requirements.txt +2 -0
- torch_rating-0.0.1b0/setup.cfg +4 -0
- torch_rating-0.0.1b0/setup.py +4 -0
- torch_rating-0.0.1b0/torch_rating.egg-info/PKG-INFO +81 -0
- torch_rating-0.0.1b0/torch_rating.egg-info/SOURCES.txt +19 -0
- torch_rating-0.0.1b0/torch_rating.egg-info/dependency_links.txt +1 -0
- torch_rating-0.0.1b0/torch_rating.egg-info/requires.txt +2 -0
- torch_rating-0.0.1b0/torch_rating.egg-info/top_level.txt +4 -0
|
@@ -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
|
+

|
|
39
|
+
[](https://badge.fury.io/py/torch-rating)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+

|
|
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
|
+

|
|
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
|
+

|
|
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
|
+

|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+

|
|
2
|
+
[](https://badge.fury.io/py/torch-rating)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+

|
|
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
|
+

|
|
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
|
+

|
|
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
|
+

|