Evri faq and Minmax: Difference between pages

From Eigenvector Research Documentation Wiki
(Difference between pages)
Jump to navigation Jump to search
imported>Lyle
 
imported>Lyle
(Created page with "===Purpose=== Min-Max scaling ===Synopsis=== :[xcorr,mins,maxs] = minmax(x,''options''); %perform min-max scaling ===Description=== Scales rows (or columns) of the...")
 
Line 1: Line 1:
__TOC___
===Purpose===
==Importing / Exporting==


[[faq_concatenate_multiple_files|How do I concatenate multiple files into a single DataSet?]]
Min-Max scaling


[[faq_create_multivariate_image_from_separate_images|How do I create a multivariate image from separate images?]]
===Synopsis===


[[faq_export_PCA_scores_and_loadings_to_text_file|How do I export PCA scores and loadings to a text file (to read into MS Excel, for example)?]]
:[xcorr,mins,maxs] = minmax(x,''options'');      %perform min-max scaling


[[faq_import_three-way_data|How do I import three-way data into Solo or PLS_Toolbox?]]
===Description===


[[faq_import_horiba_NGC_64bit |Why can't I import a Horiba NGC file on my 64-bit computer?]]
Scales rows (or columns) of the input <tt>x</tt> to be have a minima of 0 and a maxima of 1.


[[faq_SPCREADR_cant_read_multiple_files |Why can't SPCREADR read multiple files I've selected?]]
====Inputs====


[[faq_some_EXCEL_files_fail_to_import |Why do some Excel files fail to import?]]
* '''x''' = ''M'' by ''N'' matrix of data to be scaled (class "double" or "dataset").


==General==
====Optional Inputs====


[[faq_PARALIND_in_PLS_Toolbox |Can I do PARALIND in PLS_Toolbox?]]
* '''options''' = Options structure. See details below.


[[faq_install_on_more_than_one_PC | Can I install PLS_Toolbox (or Solo) on more than one PC, such as on my desktop and laptop computer?]]
''options'' =  a structure array with the following fields:


[[faq_multiple_class_sets_together_in_SIMCA_PLSDA_LDA | Can I use multiple class sets (categorical variables) together in a SIMCA, PLSDA, or LDA model?]]
* '''mode''': [ 1 ] dimension of data on which to calculate the minima and maxima for scaling. 1 = over rows (to scale variables); 2 = over columns (to scale samples). Default is 1.


[[faq_more_info_on_R_Squared_statistic | Can you give me more information on the R-Squared statistic?]]
====Outputs====


[[faq_how_RMSEC_and_RMSECV_related to R2Y_and_Q2Y_seen_other_software | How are RMSEC and RMSECV related to R2Y and Q2Y I see in other software?]]
* '''xcorr''' = the scaled data (xcorr will be the same class as x)


[[faq_convergence_of_PARAFAC| Convergence of PARAFAC. How much variation between models is expected a particular PARAFAC is fit multiple times with the same settings?]]
* '''mins''' = vector of minima for each row (or column)


[[faq_does_software_stop_working_if_maintenance_expires | Does the software stop working if my maintenance expires?]]
* '''maxs''' = vector of maxima for each row (or column)


[[faq_report_a_problem_with_PLS_Toolbox | How and where do I report a problem with PLS_Toolbox?]]


[[faq_how_are_T_contributions_calculated | How are T-contributions calculated?]]
===See Also===


[[faq_how_are_ROC_curves_calculated_for_PLSDA | How are the ROC curves calculated for PLSDA?]]
[[auto]], [[normaliz]], [[preprocess]], [[snv]]
 
[[faq_how_are_error_bars_calculated_regression_model | How are the error bars calculated for a regression model and can they be related to a confidence limit (confidence in the prediction)?]]
 
[[faq_improve_performance_with_PLS_Toolbx_and_Matlab_on_Mac | How can I improve performance with PLS_Toolbox and Matlab on the Mac platform?]]
 
[[faq_assign_classes_for_samples_in_a_DataSet | How do I assign classes for samples in a DataSet?]]
 
[[faq_build_a_classification_model_from_class_set_other_than_the_first | How do I build a classification model from a class set other than the first?]]
 
[[faq_choose_between_different_cross_validation_leave_out_options | How do I choose between the different cross-validation leave-out options?]]
 
[[faq_reference_Eigenvector| How do I cite/reference Eigenvector?]]
 
[[faq_interpret_ROC_curves_and_Sensitivity_Specificity_plots_from_PLSDA | How do I interpret the ROC curves and Sensitivity / Specificity plots from PLSDA?]]
 
[[faq_make_DataSet_backwards_compatible | How do I make a DataSet backwards compatible?]]
 
[[faq_obtain_or_use_recompilation_license_for_PLS_Toolbox | How do I obtain or use a recompilation license for PLS_Toolbox?]]
 
[[faq_use_custom_cross_validation_option | How do I use the "custom" cross-validation option?]]
 
[[faq_out_of_memory_error_when_analyzing_data | I keep getting "out of memory" errors when analyzing my data. What can I do?]]
 
[[faq_java_lang_OutOfMemoryError| What can I do if I get a java.lang.OutOfMemoryError error?]]
 
[[faq_why_get_negative_scores_when_all_modes_are_set_to_nonnegativity | Nonnegativity (PARAFAC, PARAFAC2, Tucker): Why do I get negative scores when all modes are set to nonnegativity?]]
 
[[faq_what_are_relative_contributions | What are "Relative Contributions"?]]
 
[[faq_what_are_reduced_T^2_and_Q_Statistics | What are the "Reduced" T<sup>2</sup> and Q Statistics?]]
 
[[faq_units_for_RMSEC_and_RMSECV_for_PLSDA | What are the units used for RMSEC and RMSECV when cross-validating PLSDA models?  Why do the cross-validation curves look strange for PLSDA?]]
 
[[faq_what_do_the_four_Fit_/_Unique_Fit_stats_mean_in_MCR_PARAFAC | What do the four Fit/Unique Fit statistics mean in MCR and PARAFAC models?]]
 
[[faq_internal_tests_used_to_select_suggested_number_of_PCs | What internal tests are used to select "suggested" number of PCs?]]
 
[[faq_what_is_PLS1_v_PLS2_and_how_to_create_separate_PLS1_models_from_multi_column_y_block | What is PLS1 vs PLS2 and how do I create separate PLS1 models when I have a multi-column y-block?]]
 
[[faq_difference_between_a_loading_and_a_weighting | What is the difference between a loading and a weighting?]]
 
[[faq_why_some_axis_labels_and_titles_upside_down_in_MIA_Toolbox | Why are some axis labels and titles on my axes upside-down when I'm viewing images in MIA_Toolbox?]]
 
[[faq_why_can't_I_recompile_PLS_Toolbox_functions | Why can't I recompile the PLS_Toolbox functions?]]
 
[[faq_why_get_missing_data_warning| Why do I get the warning/notice "Missing Data Found - Replacing with "best guess" from existing model. Results may be affected by this action."]]
 
[[faq_why_PLS_Toolbox_have_a_boxplot_function_that_conflicts_with_Stats_Toolbox | Why does PLS_Toolbox have a "boxplot" function that conflicts with the Mathworks Statistics Toolbox function of the same name?]]
 
[[faq_why_R2014b_give_error_cannot_convert_double_value_to_a_handle | Why does R2014b give me "Error using matlab.ui.Figure... Cannot convert double value to a handle" (or similar)?]]
 
==Command Line==
[[faq_specify_all_options_of_a_function_or_only_those_different_from_defaults | Do I have to specify all the options to a function or only the ones that are different from the defaults?]]
 
[[faq_how_are_Q_residuals_and_Hotellings_T2_calculated_in_PLS_models | How are the Q-residuals and Hotelling's T<sup>2</sup> values calculated for PLS models?]]
 
[[faq_how_to_automate_PCA_analysis_for_multiple_images  | How do I automate PCA analysis for multiple images?]]
 
[[faq_how_do_I_calculate_my_own_T2_and_Q_limits | How do I calculate my own T<sup>2</sup> and Q limits?]]
 
[[faq_how_do_manually_calculate_the_limits_for_scores | How do I manually calculate the limits for scores?]]
 
[[faq_how_do_I_calculate_scores_from_a_PLS_or_PLSDA_model | How do I calculate scores from a PLS or PLSDA model?]]
 
[[faq_how_do_I_change_the_default_options_for_a_function | How do I change the default options for a function?]]
 
[[faq_how_do_I_interpret_the_misclassification_results_reported_by_crossval | How do I interpret the Misclassification results reported by crossval?]]
 
[[faq_how_do_I_make_PlotGUI_send_plot_to_a_new_figure_and_not_overwrite_current_figure | How do I make PlotGUI send its plot to a new figure and not overwrite the current figure?]]
 
[[faq_how_do_I_retrieve_and_display_predictions_from_a_model_structure_in_command_window | How do I retrieve and display predictions from a model structure in the command window?]]
 
==Manual==
==GUI==
==Installation==
 
 
 
 
 
 
 
[[Category:FAQ]]

Revision as of 15:05, 20 November 2018

Purpose

Min-Max scaling

Synopsis

[xcorr,mins,maxs] = minmax(x,options); %perform min-max scaling

Description

Scales rows (or columns) of the input x to be have a minima of 0 and a maxima of 1.

Inputs

  • x = M by N matrix of data to be scaled (class "double" or "dataset").

Optional Inputs

  • options = Options structure. See details below.

options = a structure array with the following fields:

  • mode: [ 1 ] dimension of data on which to calculate the minima and maxima for scaling. 1 = over rows (to scale variables); 2 = over columns (to scale samples). Default is 1.

Outputs

  • xcorr = the scaled data (xcorr will be the same class as x)
  • mins = vector of minima for each row (or column)
  • maxs = vector of maxima for each row (or column)


See Also

auto, normaliz, preprocess, snv