17 void to_file(
const std::filesystem::path &file_path);
20 explicit network(
const std::vector<int> &layer_sizes);
22 explicit network(
const std::filesystem::path &file_path);
38 float backpropagate(
const std::vector<models::data_point> &training_batch);
40 void set_input(
const Eigen::VectorXf &input);
43 [[nodiscard]]
const Eigen::VectorXf &output()
const;
48 void initialize_layers(
const std::vector<int> &layer_sizes);
50 std::vector<layer> layers_;
51 std::vector<layer> gradient_layers_;
52 std::vector<layer> gradient_sum_layers_;
float backpropagate(const std::vector< models::data_point > &training_batch)
Performs a single backprogatation step with a list of training data.
Definition network.cpp:109