generates_dimensionality_reduction_function function
Function to generate a data transformation function for the Recognition-Taguchi (RT) method
Function to generate a data transformation function for the Recognition-Taguchi (RT) method
generates_dimensionality_reduction_function returns the data transformation function for the Recognition-Taguchi (RT) method based on the unit_space_data. The function reduces the dimensionality of data into 2 synthetic variables.
unit_space_data: Matrix with n rows (samples) and p columns (variables). Data to generate the unit space. All data should be continuous values and should not have missing values.
Returns
Function is returned which takes an n x p matrix as an (only) argument and returns a dimensionality-reduced n x 2 data frame with named columns; Y_1 and Y_2.
Examples
# 40 data for versicolor in the iris datasetiris_versicolor <- iris[61:100,-5]reduces_dimensionality <- generates_dimensionality_reduction_function(iris_versicolor)is.function(reduces_dimensionality)# TRUE
References
Taguchi, G. (2006). Objective Function and Generic Function (11). Journal of Quality Engineering Society, 14(2), 5-9. (In Japanese)
Huda, F., Kajiwara, I., Hosoya, N., & Kawamura, S. (2013). Bolt loosening analysis and diagnosis by non-contact laser excitation vibration tests. Mechanical systems and signal processing, 40(2), 589-604.