diff --git a/src/mlpack/methods/ann/layer/dropconnect_layer.hpp b/src/mlpack/methods/ann/layer/dropconnect_layer.hpp index 54867cc362..0e05816a62 100644 --- a/src/mlpack/methods/ann/layer/dropconnect_layer.hpp +++ b/src/mlpack/methods/ann/layer/dropconnect_layer.hpp @@ -42,7 +42,7 @@ namespace ann /** Artificial Neural Network. */ { * } * @endcode * - * @tparam InputLayer Layer used instead of the internel linear layer. + * @tparam InputLayer Layer used instead of the internal linear layer. * @tparam InputDataType Type of the input data (arma::colvec, arma::mat, * arma::sp_mat or arma::cube). * @tparam OutputDataType Type of the output data (arma::colvec, arma::mat, diff --git a/src/mlpack/methods/ann/layer/negative_log_likelihood_layer.hpp b/src/mlpack/methods/ann/layer/negative_log_likelihood_layer.hpp index d2f1f51108..050e015208 100644 --- a/src/mlpack/methods/ann/layer/negative_log_likelihood_layer.hpp +++ b/src/mlpack/methods/ann/layer/negative_log_likelihood_layer.hpp @@ -14,7 +14,7 @@ namespace ann /** Artificial Neural Network. */ { /** * Implementation of the negative log likelihood layer. The negative log - * likelihood layer expectes that the input contains log-probabilities for each + * likelihood layer expects that the input contains log-probabilities for each * class. The layer also expects a class index, in the range between 1 and the * number of classes, as target when calling the Forward function. * @@ -38,7 +38,7 @@ class NegativeLogLikelihoodLayer /** * Ordinary feed forward pass of a neural network. The negative log - * likelihood layer expectes that the input contains log-probabilities for + * likelihood layer expects that the input contains log-probabilities for * each class. The layer also expects a class index, in the range between 1 * and the number of classes, as target when calling the Forward function. * @@ -65,7 +65,7 @@ class NegativeLogLikelihoodLayer /** * Ordinary feed backward pass of a neural network. The negative log - * likelihood layer expectes that the input contains log-probabilities for + * likelihood layer expects that the input contains log-probabilities for * each class. The layer also expects a class index, in the range between 1 * and the number of classes, as target when calling the Forward function. *