Czxdas[Learn about machine learning from the Keras] — 19.Use callbacks.ModelCheckpoint to find the bestFirst, let’s take a look at the quantitative changes in compiler metrics after model fit.Sep 22, 2023Sep 22, 2023
Czxdas[Learn about machine learning from the Keras] — 18.Compute_loss and metrics of the modelAs can be seen from the previous section, when the model is compiled, a loss function can be specified, or a customized loss function can…Sep 22, 2023Sep 22, 2023
Czxdas[Learn about machine learning from the Keras] — 17.How to use and customize loss functionWhen the model is doing Compiler, specify the loss function as follows:Sep 22, 2023Sep 22, 2023
Czxdas[Learn about machine learning from the Keras] — 16.Customized Callback and how to apply itIn the chapter about model fitting, we can see that the Callback entity is put into a Container before training, and then used during the…Sep 22, 2023Sep 22, 2023
Czxdas[Learn about machine learning from the Keras] — 15.Custom activation and built-in activationLayer specifies which activation to use in the following ways (here, “relu” is used as an example):Sep 22, 2023Sep 22, 2023
Czxdas[Learn about machine learning from the Keras] — 14.optimizer And learning_rateThis section will discuss the initial setting methods, operation, and impact of optimizer and learning rate.Sep 22, 2023Sep 22, 2023
Czxdas[Learn about machine learning from the Keras] — 13. Custom initializersThis section will look at defining your own initializer. We can use a subClass to define an initializer, provided that the custom…Sep 22, 20231Sep 22, 20231
Czxdas[Learn about machine learning from the Keras] — 12. Custom LayerThe layer plays a very important role in the model and is also the executor of tensor operations during model training. The layer also…Sep 22, 2023Sep 22, 2023
Czxdas[Learn about machine learning from the Keras] — 11. Self Define ModelFrom the previous article on Model, we can know that Model inherits base_layer, which means that Model can also be used as a Layer and can…Sep 22, 2023Sep 22, 2023
Czxdas[Learn about machine learning from the Keras] — 10.Model.fit vs Sequence.fitBecause the previous article briefly described the differences between creating an instance of the keras.engine.training.Model class and…Sep 22, 2023Sep 22, 2023