Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

.log(); Update

Compare
Choose a tag to compare
@matiasvlevi matiasvlevi released this 24 Dec 22:47

Dann.log(); now has options.

-It uses an option object with specific settings as properties. (mostly boolean options).
-Documentation will be coming on the website.
-If the options argument is left empty, nothing changes, it is still good old Dann.log();

details

.log({ details:true });
this would log all details about the model

Log individual information.

.log({ gradients:true }); or .log({ weights:true , misc:true });
You can then specify one of the detailed elements individually.
Here is a temporary list of these settings.
-biases
-weights
-struct
-gradients
-errors
-misc

Specify Decimals

.log({ decimals:4 });
You can specify the number of decimals your logged data will be rounded to. This is especially useful when logging matrices, for clarity purposes. If this value is not specified, it will be set to 3 by default.

Table or Standard Log

.log({ table:true });
This is to specify if we want to print our matrices in the form of a table or simply by logging the Matrix object.