mlpack
Functions | Variables
scaling_test.cpp File Reference

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"
Include dependency graph for scaling_test.cpp:

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
 

Detailed Description

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.

Variable Documentation

◆ dataset

arma::mat dataset
Initial value:
= "-1 -0.5 0 1;"
"2 6 10 18;"