Clear Filters
Clear Filters

how can i standize my data? sigma 1 integral 1

1 view (last 30 days)
hello
i think kernel function have to get sigma 1 and integral value (all range)1
so i think that i have to standize my data for gaussian regression
gaussian regression process have standardzation option.
i get a trained model and i predict new data.
Because it was similar data,i finished the prediction well.
Additionally, I want to predict other new data with similar shapes. I think it is necessary to standardize the original data(for train)and standardize new data(for predict)
how can i standardize my data..? can you tell me several methode?
(The new data are similar in shape but have different absolute values. )

Accepted Answer

Aishwarya Shukla
Aishwarya Shukla on 31 Mar 2023
Yes, standardizing your data is a good idea when using Gaussian regression because it can improve the performance of the model by making the data more comparable across different features.
Here are a few methods you can use to standardize your data:
  1. Z-score normalization: This is a commonly used method that scales the data to have a mean of 0 and a standard deviation of 1. This can be achieved by subtracting the mean of each feature and dividing by its standard deviation.
  2. Min-Max scaling: This method scales the data to a fixed range between 0 and 1. This can be achieved by subtracting the minimum value of each feature and dividing by the range of the feature.
  3. Log transformation: This method can be used when the data is skewed or has a wide range of values. By taking the logarithm of the data, the values can be scaled down and brought closer together.
  4. Robust scaling: This method is similar to Z-score normalization, but instead of using the standard deviation, it uses the interquartile range to scale the data. This can be useful when the data contains outliers.
You can use any of these methods to standardize both your training data and new data for prediction. Just make sure that you apply the same method and parameters to both the training and new data to ensure consistency.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!