Skip to main content

Machine Learning

Project description

Table of Contents

1 metrics

TOC

1.1 F1_Score

TOC

1.2 FN

TOC

1.3 FP

TOC

1.4 FPR

TOC

1.5 TN

TOC

1.6 TP

TOC

1.7 TPR

TOC

1.8 confusion

TOC

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

TOC

1.10 plot_confusion_matrix

TOC

1.11 top_1_accuracy

TOC

1.12 top_3_accuracy

TOC

1.13 top_k_accuracy

TOC

2 model

TOC

2.2 Constants

TOC

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

TOC

3 multi_transforms

TOC

3.1 BGR2GRAY : MultiTransform

TOC

3.1.1 __call__

TOC

Description

Call self as a function.

3.1.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

3.2 BGR2RGB : MultiTransform

TOC

3.2.1 __call__

TOC

Description

Call self as a function.

3.2.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

3.3 Brightness : MultiTransform

TOC

3.3.1 __call__

TOC

Description

Call self as a function.

3.3.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

3.4 CenterCrop : MultiTransform

TOC

3.4.1 __call__

TOC

Description

Call self as a function.

3.4.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

3.5 Color : MultiTransform

TOC

3.5.1 __call__

TOC

Description

Call self as a function.

3.5.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

3.6 Compose : builtins.object

TOC

3.6.1 __call__

TOC

Description

Call self as a function.

3.6.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

3.7 GaussianNoise : MultiTransform

TOC

3.7.1 __call__

TOC

Description

Call self as a function.

3.7.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

3.8 MultiTransform : builtins.object

TOC

3.8.1 __call__

TOC

Description

Call self as a function.

3.8.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

3.9 Normalize : MultiTransform

TOC

3.9.1 __call__

TOC

Description

Call self as a function.

3.9.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

3.10 RGB2BGR : BGR2RGB

TOC

3.10.1 __call__

TOC

Description

Call self as a function.

3.10.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

3.11 RandomCrop : MultiTransform

TOC

3.11.1 __call__

TOC

Description

Call self as a function.

3.11.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

3.12 RandomHorizontalFlip : MultiTransform

TOC

3.12.1 __call__

TOC

Description

Call self as a function.

3.12.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

3.13 RandomVerticalFlip : MultiTransform

TOC

3.13.1 __call__

TOC

Description

Call self as a function.

3.13.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

3.14 Resize : MultiTransform

TOC

3.14.1 __call__

TOC

Description

Call self as a function.

3.14.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

3.15 Rotate : MultiTransform

TOC

3.15.1 __call__

TOC

Description

Call self as a function.

3.15.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

3.16 Satturation : MultiTransform

TOC

3.16.1 __call__

TOC

Description

Call self as a function.

3.16.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

3.17 Scale : MultiTransform

TOC

3.17.1 __call__

TOC

Description

Call self as a function.

3.17.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

3.18 Stack : MultiTransform

TOC

3.18.1 __call__

TOC

Description

Call self as a function.

3.18.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

3.19 ToCVImage : MultiTransform

TOC

3.19.1 __call__

TOC

Description

Call self as a function.

3.19.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

3.20 ToNumpy : MultiTransform

TOC

3.20.1 __call__

TOC

Description

Call self as a function.

3.20.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

3.21 ToPILImage : MultiTransform

TOC

3.21.1 __call__

TOC

Description

Call self as a function.

3.21.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

3.22 ToTensor : MultiTransform

TOC

3.22.1 __call__

TOC

Description

Call self as a function.

3.22.2 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

4 run

TOC

4.1 Run : builtins.object

TOC

4.1.1 __init__

TOC

Description

Initialize self. See help(type(self)) for accurate signature.

4.1.2 append

TOC

4.1.3 get_avg

TOC

4.1.4 get_val

TOC

4.1.5 len

TOC

4.1.6 load_best_state_dict

TOC

4.1.7 load_state_dict

TOC

4.1.8 pickle_dump

TOC

4.1.9 pickle_load

TOC

4.1.10 plot

TOC

4.1.11 recalculate_moving_average

TOC

4.1.12 save

TOC

4.1.13 save_best_state_dict

TOC

4.1.14 save_state_dict

TOC

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rsp_ml-0.0.55.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

rsp_ml-0.0.55-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

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

Hashes for rsp_ml-0.0.55.tar.gz
Algorithm Hash digest
SHA256 3430166ae9fa4f55ebd77302e4dd4b83e4d75b666834478cb2de754537e13746
MD5 2dabb6f0f97ba8dd155b0026deab5fb2
BLAKE2b-256 a703da20fd112b8ad3077c32bb82d87ee371c8d803045c5a7c1aab3030fc93d0

See more details on using hashes here.

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

Hashes for rsp_ml-0.0.55-py3-none-any.whl
Algorithm Hash digest
SHA256 55cda926184a29eb344afc76322ff72492e7b07580acedb0d2d177ae59a842c4
MD5 c34402c3037d9c2c4dde963a13b15f3b
BLAKE2b-256 bfbdf978ea7f0d1040170e8d69384c9d0fc9b22dc7e38ed58abb0b56d37969bf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page