Deepctr-torch

Latest version: v0.2.9

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

Scan your dependencies

Page 2 of 3

0.2.3

Change Log
Major Features and Improvements

- Add new models: [DCN-M](https://deepctr-torch.readthedocs.io/en/latest/Features.html#dcn-deep-cross-network) and [DCN-mix](https://deepctr-torch.readthedocs.io/en/latest/Features.html#dcn-mix-improved-deep-cross-network-with-mix-of-experts-and-matrix-kernel)
- Add `EarlyStopping` and `ModelCheckpoint` callbacks, [example](https://deepctr-torch.readthedocs.io/en/latest/FAQ.html#set-learning-rate-and-use-earlystopping)

Bug Fixes and Other Changes

- Use `float64` in metric to prevent nan/inf loss when calculating logloss

API changes

- `DCN` add a new parameter:
`cross_parameterization`: string, ``"vector"`` or ``"matrix"``, way to parameterize the cross network.if set to ``"matrix"`` then it will be `DCN-M`
- Add `EarlyStopping` and `ModelCheckpoint` in `deepctr_torch.callbacks`

0.2.2

Change Log
Major Features and Improvements

- Improve the reproducibility of models



Bug Fixes and Other Changes
Fix `RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [128]], which is output 0 of SelectBackward, is at version 2; expected version 1 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True)` in :
https://github.com/shenweichen/DeepCTR-Torch/issues/88
https://github.com/shenweichen/DeepCTR-Torch/issues/98
https://github.com/shenweichen/DeepCTR-Torch/issues/90
https://github.com/shenweichen/DeepCTR-Torch/issues/102

0.2.1

Change Log
Major Features and Improvements
Add `DIN` and `DIEN`
Bug Fixes and Other Changes
- fix bug of 63 softmax dim error in `InteractingLayer`

0.2.0

Change Log
Major Features and Improvements
- Refactor [feature columns](https://deepctr-torch.readthedocs.io/en/latest/Features.html#feature-columns).

- Different features can use different `embedding_dim`
- Add linear part to some models
- Add `SequencePoolingLayer`([API](https://deepctr-torch.readthedocs.io/en/latest/deepctr_torch.layers.sequence.html#deepctr_torch.layers.sequence.SequencePoolingLayer))

Bug Fixes and Other Changes
- Support double precision in metric calculation by setting `use_double=True` in `model.fit()` 15

API changes

- `embedding_size` parameter of models is removed.Now we must set `embedding_dim`(default 4) in `SparseFeat` or `VarLenSparseFeat `.

0.1.3

Major Features and Improvements
- Simplify input logic,[examples](https://deepctr-torch.readthedocs.io/en/latest/Examples.html#classification-criteo)

0.1.2

Major Features and Improvements
- Add [sequence(multi-value) input support](https://deepctr-torch.readthedocs.io/en/latest/Examples.html#multi-value-input-movielens) .

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.