|
FlexNN 1
Fully connected neural network built from scratch with flexible n-layer design and multiple activations.
|
Utility functions for FlexNN neural network library. More...
#include <Eigen/Dense>#include <string>#include <vector>

Go to the source code of this file.
Namespaces | |
| namespace | FlexNN |
| Namespace for the FlexNN neural network library. | |
Functions | |
| Eigen::MatrixXd | FlexNN::oneHotEncode (const Eigen::VectorXd &Y, int num_classes) |
| One-hot encodes a vector of class labels. | |
| void | FlexNN::readCSV_XY (const std::string &filename, Eigen::MatrixXd &X, Eigen::VectorXd &Y) |
| Reads a CSV file and splits it into features (X) and labels (Y). | |
| std::vector< std::pair< Eigen::MatrixXd, Eigen::VectorXd > > | FlexNN::splitXY (const Eigen::MatrixXd &X, const Eigen::VectorXd &Y, const std::vector< double > &proportions) |
| Splits the dataset into multiple sets based on specified proportions. | |
Utility functions for FlexNN neural network library.
This file contains utility functions for one-hot encoding, reading CSV files, and splitting datasets into training, validation, and test sets.
Will add more utility functions as needed.