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.56.tar.gz
.
File metadata
- Download URL: rsp_ml-0.0.56.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18a92f5ccd019ed279c0501238f056fad7c78d6a0f369eab8b02c77329696dc2 |
|
MD5 | 944270062884b2dd080e40fe55bf7454 |
|
BLAKE2b-256 | ad2d6dab9bba87693f850ee2ae7e3d8334100dc7aa76eec5d957a227393b5118 |
File details
Details for the file rsp_ml-0.0.56-py3-none-any.whl
.
File metadata
- Download URL: rsp_ml-0.0.56-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 | a6be902ffc3fdfb6933a8792d72eef0cbfb3bb8d1f86738d3e3c08a5d0098060 |
|
MD5 | 9085e64b1f131d60ffa33e2c25859343 |
|
BLAKE2b-256 | 42b22ac6e379ff5bcc14e6a45f604411e38b0decf95645c0223736706b2cae4a |