aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-09-17add: onehot implementation donejvech
parse.c test code was deleted too
2024-09-14feat: onehot feature implementation in processjvech
To make onehot available I had to refactor how the data is stored, the current implementation supports json files.
2024-09-08fix: file_read() and file_write() refactorjvech
Functions Parameters were replaced by Configs struct to allow scalability, in the future I might merge parse.c source code into util.c
2024-09-08fix: memory leaks fixedjvech
2024-09-04fix: ml_network_train() refactoredjvech
2024-09-03feat: shuffle dataset on each epoch donejvech
The CLI option to disable it was also added.
2024-08-26add: mini batch learning implementedjvech
2024-08-07add: CLI improvements and small documentation updatesjvech
Things done: * config path should search config file in the following order: cli option, environment, xdg_path * Implement a retrain command. * when you require more keys than the ones available in the input, stop the program.
2024-08-06add: file parsing improvedjvech
Things implemented: * json_read() must die if the key does not exist or the value type is wrong. * on predict command input should be shown exactly the same * float precision CLI option should be added.
2024-07-26add: file_write() implementedjvech
things implemented: - CLI option --only-out added - CLI option --format works more intuitively - csv tsv and json output support
2024-07-24add: file_read() and format integraded on main programjvech
things implemented: - read output in false bug was solved. - Make generic rule added to build test executables - format option added to the CLI
2024-07-24add: file_read() function implementedjvech
things implemented: - Automatic file format infering - json_read() small refactor done - error checking in csv_read() improved
2024-07-23add: csv_read() improvedjvech
Error messages are more specific and now columns are read as arrays of strings.
2024-07-23add: read_csv function addedjvech
There is still much to do
2024-07-19add: tanh activation addedjvech
2024-07-18add: linear activation addedjvech
2024-07-16add: backward cblas optimization donejvech
weights update for loop was changed for a cblas routine
2024-07-16add: tests scripts implementedjvech
2023-10-23setup: install_config added, README updatedjvech
2023-10-21setup: man page improvedjvech
Documentation: Example sections was improved Files sections was added Fixes: default config filepath was fixed
2023-10-21setup: Install and uninstall rules addedjvech
The man page must have a section specifying where to save configurations files for loading the network architecture and weights.
2023-10-18doc: README addedjvech
Installation and uninstallation rules must be added on Makefile
2023-09-11add: static file reading implementedjvech
Now is possible to read data from standard input
2023-09-03doc: LICENSE and some documentation addedjvech
2023-09-03fix: write network parameter fixedjvech
2023-08-30add: network read and write done json_read reactoredjvech
2023-08-27add: data and network initialization donejvech
train subcommand can read and train the network TODO: - Refactor json_read() to parse multiple labels - Implement a function to save network weights once the network have trained - Implement a function to load trained weights to use with predict subcommand
2023-08-26fix: cfg syntax verification and usage messages improvedjvech
2023-08-25add: layer architecture loading from cfg donejvech
2023-08-23add: basic configuration parsing implementedjvech
parameters implemented: - input_keys - label_keys - epochs - labels - weights_path Network weights and architecture loading is not implemented yet.
2023-08-17[ADD]: Cli implemented in a different functionjvech
The program config parameters where encapsulated in a struct to keep track of them without implementing a lot of functions
2023-08-16add: Cli definedjvech
2023-08-14add: cli interface definedjvech
2023-08-13add: commands.gdb deleted from git tracebackjvech
Gdb files will be ignored from now
2023-08-12add: softplus activation addedjvech
2023-08-12add: nn_network_predict donejvech
2023-08-08add: pass activations to a separate filejvech
The point is have this file for new activation function without bloating nn.c file
2023-08-08add: activation and cost functions addedjvech
Training function were fixed and new activation and cost function were implemented
2023-08-06add: nn_network_train() addedjvech
The function needs to be tested
2023-08-06refactor: Activation and Layer struct refactoredjvech
2023-08-05add: nn_backward() calloc error handling addedjvech
2023-08-05add: bias backward propagation implementedjvech
2023-08-04add: nn_backward implementedjvech
It needs to be tested and some backward layer functions were redefined to improve readability
2023-08-02add: layer backward donejvech
2023-08-02add: delta calculation for hidden and output layer donejvech
2023-07-29add: nn_layer_forward splitedjvech
The function nn_layer_forward was changed from f(X*W) to X*W and nn_layer_map_activation will map the activation function through the output of nn_layer_forward.
2023-07-28add: network forward pass implementedjvech
2023-07-27fix: weights allocation mistake fixedjvech
2023-07-27fix: random weights generator bug fixedjvech
2023-07-24doc: backpropagation notes addedjvech
Feel free to download, copy and edit any repo