This release adds some new features, but primarily focuses on reorganization of the core functionality of PsiZ into easy-to-use percept, proximity, and behavior modules.
Major Changes
* Source code related to architecting a "similarity function" has been reorganized to reflect the more general notion of a "proximity function" (which subsumes the notion of similarity, dissimilarity, kernel, and distance).
* Added new abstract `Proximity` layer which includes optional `activation` argument.
* Updated `Minkowski` and `MinkowskiStochastic` layer to inherit from `Proximity`
* Recommended approach is to use `activation` argument to modify output of Minkowski distance.
* Added experimental `CosineSimilarity` layer (which inherits from `Proximity`)
* Added experimental `InnerProduct` layer (which inherits from `Proximity`)
* Added experimental `GeneralizedInnerProduct` layer (which inherits from `Proximity`)
* `DistanceBased` layer is now deprecated in favor of using "activation" argument of `Proximity`
* Some functions have been re-homed as "activation" layers.
* Moved to `psiz.keras.layers.activations.ExponentialSimilarity`
* Moved to `psiz.keras.layers.activations.HeavyTailedSimilarity`
* Moved to `psiz.keras.layers.activations.InverseSimilarity`
* Moved to `psiz.keras.layers.activations.StudentsTSimilarity`
* `RankSimilarity` and `RateSimilarity` have been deprecated in favor of `SoftRank` and `Logistic`. In practice, this change means that users have increased responsibility for wiring up the layers, but model readability is now better. Examples, tutorials, and tests have all been updated to reflect these changes. To update code please see the examples.
* Cell-based layers have been moved to `experimental` until a stable API can be determined.
Minor Changes
* New `SoftRank` layer includes optional temperature parameter for controlling determinism.