Commit Graph

19 Commits

Author SHA1 Message Date
Francois Chollet
cbc7538a0e Merge branch 'main' of github.com:keras-team/keras-core 2023-04-23 14:02:44 -07:00
Francois Chollet
69d93beb0b Progress on serialization 2023-04-23 14:01:46 -07:00
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
Neel Kovelamudi
f06a9ce037 Adds adam optimizer 2023-04-21 22:01:17 +00:00
Neel Kovelamudi
ce72fe1f42 Adds adam optimizer 2023-04-21 22:11:20 +00:00
Francois Chollet
c6fa099ac0 Quick fix 2023-04-21 14:16:39 -07:00
Francois Chollet
fe0c8eedf7 Merge branch 'main' of github.com:keras-team/keras-core 2023-04-21 13:59:07 -07:00
Francois Chollet
2c910dbb71 Update demos 2023-04-21 13:58:43 -07:00
Gabriel Rasskin
4f7190044e Add MeanSquaredError and initial testing (#19)
* Add MeanSquaredError and initial testing

* Add docstring

* Add keras_core exports

* Remove api aliases for losses
2023-04-21 14:35:58 -04:00
Francois Chollet
7fd5cfcf2d Docstring fixes 2023-04-19 18:43:07 -07:00
Gabriel Rasskin
d3b96fdebb Added MeanSquaredLogarithmicError and MeanAbsolutePercentageError (#15)
* Added MeanAbsoluteError and started testing for losses.

Added testing for MeanSquaredError and MeanAbsoluteError as well as testing utils.

* Formatting fix for docstrings

* Switch docstrings to keras_core

* Add MeanAbsolutePercentageError and MeanSquaredLogarithmicError

Add regression errors and testing. Cleaned up formatting for other files.

* More merge conflicts

* Backend import merge conflict

* Minor docstring touchup
2023-04-19 21:38:56 -04:00
Francois Chollet
3a180ccadc Fix indent 2023-04-18 21:18:55 -07:00
Gabriel Rasskin
f48c448b72 Added MeanAbsoluteError and started testing for losses. (#11)
* Added MeanAbsoluteError and started testing for losses.

Added testing for MeanSquaredError and MeanAbsoluteError as well as testing utils.

* Formatting fix for docstrings

* Switch docstrings to keras_core
2023-04-19 00:18:20 -04:00
Francois Chollet
9e4c590ac4 Misc fixes 2023-04-17 14:55:17 -07:00
Chen Qian
eabdb87f9f Add some numpy ops (#1)
* Add numpy ops (initial batch) and some config

* Add unit test

* fix call

* Revert "fix call"

This reverts commit 6748ad183029ff4b97317b77ceed8661916bb9a0.

* full unit test coverage

* fix setup.py
2023-04-12 11:31:58 -07:00
François Chollet
4a8d8c6117 Merge pull request #2 from keras-team/add_initializers
Add RandomNormal and RandomUniform Initializers
2023-04-12 11:00:14 -07:00
AakashKumarNain
4b018c0560 add tests for RandomNormal and RandomUniform initializers 2023-04-12 23:23:38 +05:30
Francois Chollet
6544d6b850 Reformat with black line_length=80 2023-04-12 10:52:34 -07:00
Francois Chollet
160473c474 Initial draft of the codebase. 2023-04-09 12:21:45 -07:00