Go to file
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
.vscode Adds adam optimizer 2023-04-21 22:01:17 +00:00
keras_core Add Hinge losses (#31) 2023-04-24 02:30:11 +05:30
shell Merge branch 'main' of github.com:keras-team/keras-core 2023-04-21 23:16:51 -07:00
.gitignore Add .gitignore 2023-04-09 12:24:26 -07:00
demo_custom_jax_workflow.py Add predict flow for TF, and tests. 2023-04-20 13:08:37 -07:00
demo_custom_layer_backend_agnostic.py Fix jax jit_compile setting 2023-04-19 14:35:28 -07:00
demo_custom_tf_workflow.py Add predict flow for TF, and tests. 2023-04-20 13:08:37 -07:00
demo_functional.py Adds adam optimizer 2023-04-21 22:01:17 +00:00
demo_subclass.py Adds adam optimizer 2023-04-21 22:01:17 +00:00
jax_integration_test.py Minor refactor of backend.random 2023-04-12 21:07:17 -07:00
jax_training_scratchpad.py Adds adam optimizer 2023-04-21 22:01:17 +00:00
LICENSE Add license. 2023-04-09 13:00:24 -07:00
pyproject.toml Merge branch 'main' of github.com:keras-team/keras-core 2023-04-21 23:16:51 -07:00
requirements.txt Add some numpy ops (#1) 2023-04-12 11:31:58 -07:00
setup.cfg Merge branch 'main' of github.com:keras-team/keras-core 2023-04-21 23:16:51 -07:00
setup.py Add some numpy ops (#1) 2023-04-12 11:31:58 -07:00
tf_integration_test.py Minor refactor of backend.random 2023-04-12 21:07:17 -07:00