Sam

Latest version: v3.1.11

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

Scan your dependencies

Page 9 of 12

2.0.18

Changes
- `sam.models.SamQuantileMLP`: Now stores the input columns (before featurebuilding) which can be accessed by `get_input_cols()`

2.0.17

Changes
- `sam.validation.flatline`: Now accepts `window="auto"` option, for which the maximum flatline window is estimated in the `fit` method

2.0.16

New functions
- New class: `sam.feature_engineering.SPEITransformer` for computing precipitation and evaporation features

2.0.15

Bugfixes
- Fixed failing unit tests by removing tensorflow v1 code
- Fixed QuantileMLP, where the target would stay an integer, which fails with our custom loss functions
- Updated optional dependencies to everything we use
- With the latest pandas version a UTC to string conversion has been fixed. Removed our fix, upped the pandas version
- Updated scikit-learn to at least 0.21, which is required for the iterative imputer

Development changes
- Added `run-linting.yml` to run pycodestyle in devops pipelines
- Added `run-unittest.yml` to run pytest in devops pipelines
- Removed `.arcconfig` (old arcanist unit test configuration)
- Removed `.arclint` (old arcanist lint configuration)

2.0.14

New functions
- `sam.visualisation.sam_quantile_plot`: Options to set `outlier_window` and `outlier_limit`, to only plot anomalies when at least `outlier_limit` anomalies are counted within the `outlier window`

Bugfixes
- Bugfix in `sam.metrics.custom_callbacks`

2.0.11

Bugfixes
- `sam.models.SamQuantileMLP.score`: if using y_scaler, now scales actual and prediction to equalize score to keras loss

Page 9 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.