mlpack
|
Tests for Scaling of dataset. More...
#include <mlpack/core.hpp>
#include <mlpack/core/data/scaler_methods/pca_whitening.hpp>
#include <mlpack/core/data/scaler_methods/zca_whitening.hpp>
#include <mlpack/core/data/scaler_methods/min_max_scaler.hpp>
#include <mlpack/core/data/scaler_methods/max_abs_scaler.hpp>
#include <mlpack/core/data/scaler_methods/standard_scaler.hpp>
#include <mlpack/core/data/scaler_methods/mean_normalization.hpp>
#include "test_catch_tools.hpp"
#include "catch.hpp"
Functions | |
TEST_CASE ("MinMaxScalerTest", "[ScalingTest]") | |
Test For MinMax Scaler Class. | |
TEST_CASE ("MaxAbsScalerTest", "[ScalingTest]") | |
Test For MaxAbs Scaler Class. | |
TEST_CASE ("StandardScalerTest", "[ScalingTest]") | |
Test For Standard Scaler Class. | |
TEST_CASE ("MeanNormalizationTest", "[ScalingTest]") | |
Test For MeanNormalization Scaler Class. | |
TEST_CASE ("SameInputOutputTest", "[ScalingTest]") | |
Test to pass same matrix as input and output. | |
TEST_CASE ("ZeroMatrixTest", "[ScalingTest]") | |
Test for Zero Matrix. | |
TEST_CASE ("ZeroScaleTest", "[ScalingTest]") | |
Test for Zero Scale. | |
TEST_CASE ("PCAWhiteningTest", "[ScalingTest]") | |
Test for PCA whitening Scale. | |
TEST_CASE ("ZCAWhiteningTest", "[ScalingTest]") | |
Test for ZCA whitening Scale. | |
Variables | |
arma::mat | dataset |
arma::mat | scaleddataset |
arma::mat | temp |
Tests for Scaling of dataset.
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.
arma::mat dataset |