Fix some typos

This commit is contained in:
saundersp 2024-07-22 22:06:51 +02:00
parent d83ddd04c1
commit b55713cae3

View File

@ -9,7 +9,7 @@
* @tparam T Inner type of the arrays to test
* @param cpu CPU Array
* @param gpu GPU Array
* @return Whether the test was succesful
* @return Whether the test was successful
*/
template <typename T>
bool unit_test_cpu_vs_gpu(const np::Array<T>& cpu, const np::Array<T>& gpu) noexcept {
@ -249,7 +249,7 @@ np::Array<uint8_t> classify_viola_jones(const np::Array<float64_t>&, const np::A
np::Array<float64_t> init_weights(const np::Array<uint8_t>&) noexcept;
/**
* @brief Select the best classifer given their predictions.
* @brief Select the best classifier given their predictions.
*
* @param classifiers The weak classifiers
* @param weights Trained weights of each classifiers
@ -261,7 +261,7 @@ std::tuple<int32_t, float64_t, np::Array<float64_t>> select_best(const np::Array
const np::Array<uint8_t>&) noexcept;
/**
* @brief Train the weak calssifiers.
* @brief Train the weak classifiers.
*
* @param T Number of weak classifiers
* @param X_feat Integrated features