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.56.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for rsp_ml-0.0.56.tar.gz
Algorithm Hash digest
SHA256 18a92f5ccd019ed279c0501238f056fad7c78d6a0f369eab8b02c77329696dc2
MD5 944270062884b2dd080e40fe55bf7454
BLAKE2b-256 ad2d6dab9bba87693f850ee2ae7e3d8334100dc7aa76eec5d957a227393b5118

See more details on using hashes here.

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

Hashes for rsp_ml-0.0.56-py3-none-any.whl
Algorithm Hash digest
SHA256 a6be902ffc3fdfb6933a8792d72eef0cbfb3bb8d1f86738d3e3c08a5d0098060
MD5 9085e64b1f131d60ffa33e2c25859343
BLAKE2b-256 42b22ac6e379ff5bcc14e6a45f604411e38b0decf95645c0223736706b2cae4a

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