Lpd

Latest version: v0.4.12

Safety actively analyzes 625891 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 8

0.3.9

-----------------
* Bug fix when saving full trainer that has tensorboard callback
* Added LossOptimizerHandlerAccumulateSamples
* Added LossOptimizerHandlerAccumulateBatches
* Added is_file_exists method to file_utils

0.3.8

-----------------
* Added new callback - TensorboardImage
* Added example for TensorboardImage
* Added torchvision to requirements-dev.txt
* In Trainer - metric_name_to_func (dict) was changed to metrics (list)
* Trainer now holds _last_data property - a class InputOutputLabel that holds (inputs, outputs, labels)
* New method in file_utils ensure_folder_created

0.3.7

-----------------
* Added lpd-nodeps package in case you need to handle your own dependencies

0.3.6

-----------------
* Improved handling of MetricConfusionMatrixBase with custom metrics

0.3.5

-----------------
* CallbackMonitor patience argument now optional for cleaner code
* Better handling for binary get_stats in confusion matrix based metric

0.3.4

-----------------
* Added MetricConfusionMatrixBase for adding custom confusion matrix based metrics
* Added ConfusionMatrixBasedMetric Enum to get specific metrics such as tp,fp,fn,tn,precision,sensitivity,specificity,recall,ppv,npv,accuracy,f1score
* Added confusion matrix common metrics (TruePositives, TrueNegatives, FalsePositives, FalseNegatives)
* Added MetricMethod enum to pass to MetricBase, now you can define whether your metric is based on MEAN, SUM or LAST of all batches
* StatsPrint callback now support "print_confusion_matrix" and "print_confusion_matrix_normalized" arguments in case MetricConfusionMatrixBase metric is found
* Added confusion matrix tests and example
* Some custom layers renames (breaking changes in this part)

Page 3 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.