diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/neuronal_network.c b/neuronal_network.c index 184eb68..92e0563 100644 --- a/neuronal_network.c +++ b/neuronal_network.c @@ -383,13 +383,13 @@ double square(double input) { return input * input; } -double loss_function(Matrix* output_matrix, int image_label) { - Matrix* temp = matrix_copy(output_matrix); - - temp->numbers[1, image_label] -= 1; - apply(square, temp); - - matrix_free(temp); - - return matrix_sum(temp);; -} \ No newline at end of file +//double loss_function(Matrix* output_matrix, int image_label) { +// Matrix* temp = matrix_copy(output_matrix); +// +// temp->numbers[1][image_label] -= 1; +// apply(square, temp); +// +// matrix_free(temp); +// +// return matrix_sum(temp);; +//} \ No newline at end of file