Disent

Latest version: v0.8.0

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

Scan your dependencies

Page 6 of 7

0.0.1.dev7

**metrics**
+ dual flatness metric
- measures **linearity** and **ordering** of latent traversals
- ordering over randomly sampled embeddings compared to ground truth factors

**utils**
+ torch math helper functions
- Covariance matrix
- Pearson's correlation matrix
- Spearman's rank correlation matrix
- Generalised mean (p from `-inf` to `inf`, special cases for harmonic, geometric, arithmetic, min, max, quadratic means)

**state spaces**
+ fixes for `pos_to_idx` and `idx_to_pos` with array sizes with more than 1 dimension (excluding last factor or idx dim)

0.0.1.dev6

**new frameworks**
+ Beta-TCVAE (probably wrong, needs verification & correct loss scaling)

**frameworks**
+ DFC-VAE input fixes & support for 1 channel

0.0.1.dev5

**new frameworks**
+ DIP-VAE
+ Info-VAE
+ EXPERIMENTAL: Data Overlap TVAE

**frameworks**
+ rewrite of frameworks extending from single VAE class, hooks are now made available for easy overrides. Removed lots of duplicate code.

**datasets**
+ Fully random paired datasets

0.0.1.dev4

**cfg**
+ renamed `loss_rediction` mode `batch_mean` to `mean_sum`
+ changed default `loss_reduction` mode to `mean`
+ changed default `beta` to match new `loss_reduction` mode

**flatness metric**
+ added average angle along traversals
+ simplified greatly

**reconstruction loss**
+ more reconstruction losses based off of distributions
- `bernoulli`
- `continuous_bernoulli`
- `normal`

**shedules**
+ new schedules:
- NoopSchedule: does absolutely nothing!
- CosineWaveSchedule: smooth cosine wave
+ Adjusted arguments of most schedules

**bugs**
+ fixed various runtime bugs
- logging crash for W&B
- disabled checkpointing in trainer
- flatness metric did not support axis size < 2

0.0.1.dev3

+ Custom annealing schedules
+ BaseFramework & experiment schedules/annealing support
- Removed BetaVaeH (this is just an annealed version of the BetaVAE)

0.0.1.dev2

+ weight initialisation
+ torch.distributions instead of manual sampling and loss calculation
+ selectable loss reduction modes 'sum', 'mean', 'batch_mean'
+ better experiment logging and crash reporting
+ metric summary logging
+ flatness metric
+ MIT License
+ synthetic datasets rgb=False fix
+ config cleanup
+ loss nan/out of bounds error

Page 6 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.