Adanet

Latest version: v0.9.0

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

Scan your dependencies

Page 1 of 2

0.10.0.dev

* Under development.

0.9.0

* Drop support for Tensorflow 1.* . Only TensorFlow >= 2.1 is supported.
* Drop support for Python 2.* . Only Python >= 3.6 is supported.
* Preserved the outputs in the PredictionOutput that are not in the best_export_outputs.
* Add warm_start support to adanet Estimators.
* Added support for predicting/serving on TPU.
* Introduce support for `AutoEnsembleTPUEstimator`.
* Introduce experimental `adanet.experimental` Keras ModelFlow APIs.
* Replace reports.proto with simple serialized JSON. No longer have proto dependencies.

0.8.0

* Add support for TensorFlow 2.0.
* Begin developing experimental Keras API for auto-ensembling.
* Support advanced subnetworks and subestimators that need to read and write from disk by giving them a dedicated subdirectory in `model_dir`.
* Fix race condition in parallel evaluation during distributed training.
* Support subnetwork hooks requesting early stopping.
* Adding AdaNet replay. The ability to rerun training without having to determine the best candidate for the iteration. A list of best indices from the previous run is provided and honored by AdaNet.
* Introduced `adanet.ensemble.MeanEnsembler` with a basic implementation for taking the mean of logits of subnetworks. This also supports including the mean of last_layer (helpful if subnetworks have same configurations) in the `predictions` and `export_outputs` of the EstimatorSpec.
* **BREAKING CHANGE**: AdaNet now supports arbitrary metrics when choosing the best ensemble. To achieve this, the interface of `adanet.Evaluator` is changing. The `Evaluator.evaluate_adanet_losses(sess, adanet_losses)` function is being replaced with `Evaluator.evaluate(sess, ensemble_metrics)`. The `ensemble_metrics` parameter contains all computed metrics for each candidate ensemble as well as the `adanet_loss`. Code which overrides `evaluate_adanet_losses` must migrate over to use the new `evaluate` method (we suspect that such cases are very rare).
* Allow user to specify a maximum number of AdaNet iterations.
* **BREAKING CHANGE**: When supplied, run the `adanet.Evaluator` before `Estimatorevaluate`, `Estimatorpredict`, and `Estimatorexport_saved_model`. This can have the effect of changing the best candidate chosen at the final round. When the user passes an Evaluator, we run it to establish the best candidate during evaluation, predict, and export_saved_model. Previously they used the adanet_loss moving average collected during training. While the previous ensemble would have been established by the Evaluator, the current set of candidate ensembles that were not done training would be considered according to the adanet_loss. Now when a user passes an Evaluator that, for example, uses a hold-out set, AdaNet runs it before making predictions or exporting a SavedModel to use the best new candidate according to the hold-out set.
* Support `tf.keras.metrics.Metrics` during evaluation.
* Allow users to disable summaries to reduce memory and disk footprint.
* Stop individual subnetwork training on `OutOfRangeError` raised during bagging.
* Train forever if `max_steps` and `steps` are both `None`.

0.7.0

* Add embeddings support on TPU via `TPUEmbedding`.
* Train the current iteration forever when `max_iteration_steps=None`.
* Introduce `adanet.AutoEnsembleSubestimator` for training subestimators on different training data partitions and implement ensemble methods like bootstrap aggregating (a.k.a bagging).
* Fix bug when using Gradient Boosted Decision Tree Estimators with `AutoEnsembleEstimator` during distributed training.
* Allow `AutoEnsembleEstimator's` `candidate_pool` argument to be a `lambda` in order to create `Estimators` lazily.
* Remove `adanet.subnetwork.Builderprune_previous_ensemble` for abstract class. This behavior is now specified using `adanet.ensemble.Strategy` subclasses.
* **BREAKING CHANGE**: Only support TensorFlow >= 1.14 to better support TensorFlow 2.0. Drop support for versions < 1.14.
* Correct eval metric computations on CPU and GPU.

0.6.2

* Fix n+1 global-step increment bug in `adanet.AutoEnsembleEstimator`. This bug incremented the global_step by n+1 for n canned `Estimators` like `DNNEstimator`.

0.6.1

* Maintain compatibility with TensorFlow versions >=1.9.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.