Machine Learning
Project description
Table of Contents
- 1 metrics
- 2 model
- 3 multi_transforms
- 3.1 BGR2GRAY : MultiTransform
- 3.2 BGR2RGB : MultiTransform
- 3.3 Brightness : MultiTransform
- 3.4 CenterCrop : MultiTransform
- 3.5 Color : MultiTransform
- 3.6 Compose : builtins.object
- 3.7 GaussianNoise : MultiTransform
- 3.8 MultiTransform : builtins.object
- 3.9 Normalize : MultiTransform
- 3.10 RGB2BGR : BGR2RGB
- 3.11 RandomCrop : MultiTransform
- 3.12 RandomHorizontalFlip : MultiTransform
- 3.13 RandomVerticalFlip : MultiTransform
- 3.14 Resize : MultiTransform
- 3.15 Rotate : MultiTransform
- 3.16 Satturation : MultiTransform
- 3.17 Scale : MultiTransform
- 3.18 Stack : MultiTransform
- 3.19 ToCVImage : MultiTransform
- 3.20 ToNumpy : MultiTransform
- 3.21 ToPILImage : MultiTransform
- 3.22 ToTensor : MultiTransform
- 4 run
1 metrics
1.1 F1_Score
1.2 FN
1.3 FP
1.4 FPR
1.5 TN
1.6 TP
1.7 TPR
1.8 confusion
Description
Returns the confusion matrix for the values in the prediction
and truth
tensors, i.e. the amount of positions where the values of prediction
and truth
are
-
1 and 1 (True Positive)
-
1 and 0 (False Positive)
-
0 and 0 (True Negative)
-
0 and 1 (False Negative)
1.9 confusion_matrix
1.10 plot_confusion_matrix
1.11 top_1_accuracy
1.12 top_3_accuracy
1.13 top_k_accuracy
2 model
2.2 Constants
Name | Value | Description |
---|---|---|
TUC_ActionPrediction_model004 | TUC/ActionPrediction/Model4 | |
TUC_ActionPrediction_model005 | TUC/ActionPrediction/Model5 | |
URL | https://drive.google.com/drive/folders/1ulNnPqg-5wvenRl2CuJMxMMcaiYfHjQ9?usp=share_link |
2.1 load_model
3 multi_transforms
3.1 BGR2GRAY : MultiTransform
3.1.1 __call__
Description
Call self as a function.
3.1.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
3.2 BGR2RGB : MultiTransform
3.2.1 __call__
Description
Call self as a function.
3.2.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
3.3 Brightness : MultiTransform
3.3.1 __call__
Description
Call self as a function.
3.3.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
3.4 CenterCrop : MultiTransform
3.4.1 __call__
Description
Call self as a function.
3.4.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
3.5 Color : MultiTransform
3.5.1 __call__
Description
Call self as a function.
3.5.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
3.6 Compose : builtins.object
3.6.1 __call__
Description
Call self as a function.
3.6.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
3.7 GaussianNoise : MultiTransform
3.7.1 __call__
Description
Call self as a function.
3.7.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
3.8 MultiTransform : builtins.object
3.8.1 __call__
Description
Call self as a function.
3.8.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
3.9 Normalize : MultiTransform
3.9.1 __call__
Description
Call self as a function.
3.9.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
3.10 RGB2BGR : BGR2RGB
3.10.1 __call__
Description
Call self as a function.
3.10.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
3.11 RandomCrop : MultiTransform
3.11.1 __call__
Description
Call self as a function.
3.11.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
3.12 RandomHorizontalFlip : MultiTransform
3.12.1 __call__
Description
Call self as a function.
3.12.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
3.13 RandomVerticalFlip : MultiTransform
3.13.1 __call__
Description
Call self as a function.
3.13.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
3.14 Resize : MultiTransform
3.14.1 __call__
Description
Call self as a function.
3.14.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
3.15 Rotate : MultiTransform
3.15.1 __call__
Description
Call self as a function.
3.15.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
3.16 Satturation : MultiTransform
3.16.1 __call__
Description
Call self as a function.
3.16.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
3.17 Scale : MultiTransform
3.17.1 __call__
Description
Call self as a function.
3.17.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
3.18 Stack : MultiTransform
3.18.1 __call__
Description
Call self as a function.
3.18.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
3.19 ToCVImage : MultiTransform
3.19.1 __call__
Description
Call self as a function.
3.19.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
3.20 ToNumpy : MultiTransform
3.20.1 __call__
Description
Call self as a function.
3.20.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
3.21 ToPILImage : MultiTransform
3.21.1 __call__
Description
Call self as a function.
3.21.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
3.22 ToTensor : MultiTransform
3.22.1 __call__
Description
Call self as a function.
3.22.2 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
4 run
4.1 Run : builtins.object
4.1.1 __init__
Description
Initialize self. See help(type(self)) for accurate signature.
4.1.2 append
4.1.3 get_avg
4.1.4 get_val
4.1.5 len
4.1.6 load_best_state_dict
4.1.7 load_state_dict
4.1.8 pickle_dump
4.1.9 pickle_load
4.1.10 plot
4.1.11 recalculate_moving_average
4.1.12 save
4.1.13 save_best_state_dict
4.1.14 save_state_dict
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file rsp_ml-0.0.55.tar.gz
.
File metadata
- Download URL: rsp_ml-0.0.55.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3430166ae9fa4f55ebd77302e4dd4b83e4d75b666834478cb2de754537e13746 |
|
MD5 | 2dabb6f0f97ba8dd155b0026deab5fb2 |
|
BLAKE2b-256 | a703da20fd112b8ad3077c32bb82d87ee371c8d803045c5a7c1aab3030fc93d0 |
File details
Details for the file rsp_ml-0.0.55-py3-none-any.whl
.
File metadata
- Download URL: rsp_ml-0.0.55-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55cda926184a29eb344afc76322ff72492e7b07580acedb0d2d177ae59a842c4 |
|
MD5 | c34402c3037d9c2c4dde963a13b15f3b |
|
BLAKE2b-256 | bfbdf978ea7f0d1040170e8d69384c9d0fc9b22dc7e38ed58abb0b56d37969bf |