keras/keras_core
Aakash Kumar Nain b3409e383c Add Hinge losses (#31)
* add hinge, squared_hine, and categorical hinge losses

* add tests for hinge, squared_hinge, and categorical hinge losses

* fix keyword argument for jax cond

* format docstrings for hinge losses

* format hinge losses tests

* fix linting errors in activations init and test_case py files

* fix bug in reduce_values function

* rename _transform_binary_labels to convert_binary_labels_to_hinge

* fix casting of  values in  class

* convert shape values to tensor

* add hinge metrics and the corresponding tests

* revert formatting in activations init
2023-04-24 02:30:11 +05:30
..
activations Add layer testing infra. 2023-04-22 18:03:15 -07:00
backend Add Hinge losses (#31) 2023-04-24 02:30:11 +05:30
callbacks Merge branch 'main' of github.com:keras-team/keras-core 2023-04-21 23:16:51 -07:00
constraints Add bulk of serialization logic. 2023-04-21 10:00:32 -07:00
initializers Add TruncatedNormal initializer 2023-04-22 20:20:56 -07:00
layers Add autoconfig to Operation class. 2023-04-23 11:05:04 -07:00
losses Add Hinge losses (#31) 2023-04-24 02:30:11 +05:30
metrics Add Hinge losses (#31) 2023-04-24 02:30:11 +05:30
models Move stuff around 2023-04-23 11:07:50 -07:00
operations Add autoconfig to Operation class. 2023-04-23 11:05:04 -07:00
optimizers Merge branch 'main' of github.com:keras-team/keras-core 2023-04-21 23:16:51 -07:00
regularizers Merge branch 'main' of github.com:keras-team/keras-core 2023-04-21 23:16:51 -07:00
saving Add layer testing infra. 2023-04-22 18:03:15 -07:00
testing Add Hinge losses (#31) 2023-04-24 02:30:11 +05:30
trainers Merge branch 'main' of github.com:keras-team/keras-core 2023-04-21 23:16:51 -07:00
utils First confusion metric (FalsePositives) (#30) 2023-04-22 10:10:44 -06:00
__init__.py Add bulk of serialization logic. 2023-04-21 10:00:32 -07:00
api_export.py Add bulk of serialization logic. 2023-04-21 10:00:32 -07:00