mlpack
Functions
one_hot_encoding_test.cpp File Reference
#include <mlpack/core.hpp>
#include "test_catch_tools.hpp"
#include "catch.hpp"
#include <mlpack/core/data/one_hot_encoding.hpp>
Include dependency graph for one_hot_encoding_test.cpp:

Functions

 TEST_CASE ("OneHotEncodingTest01", "[OneHotEncodingTest]")
 Test one hot encoding for small input.
 
 TEST_CASE ("OneHotEncodingSparseMatTest", "[OneHotEncodingTest]")
 Test one hot encoding for sparse matrix.
 
 TEST_CASE ("OneHotEncodingInputTest", "[OneHotEncodingTest]")
 Test one hot encoding for a particular row.
 
 TEST_CASE ("OneHotEncodingBigInputTest", "[OneHotEncodingTest]")
 Test one hot encoding for big input.
 
 TEST_CASE ("OneHotEncodingVeryBigInputTest", "[OneHotEncodingTest]")
 Test one hot encoding for very big input.
 
 TEST_CASE ("OneHotEncodingDatasetinfoTest", "[OneHotEncodingTest]")
 Test one hot encoding using DatasetInfo object.
 

Detailed Description

Author
Jeffin Sam

Tests for the One-Hot Encoding method.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.