/// The derivative of the cross-entropy cost function
The derivative of the cross-entropy cost function
The derivative of the cross - entropy cost function
fn cost_derivative(
        output_activations: &LayerActivations,
        true_activations: &Label,
    ) -> LayerDeltas {
        output_activations - &true_activations.to_arr()
    }
fn cost_derivative ( output_activations : & LayerActivations , true_activations : & Label , ) -> LayerDeltas { output_activations - & true_activations . to_arr ( ) }
The derivative of the cross-entropy cost function
The derivative of the cross - entropy cost function
output_activations
&LayerActivations
true_activations
&Label