Borrar filtros
Borrar filtros

how can i standize my data? sigma 1 integral 1

1 visualización (últimos 30 días)
영훈 정
영훈 정 el 22 de Mzo. de 2023
Respondida: Aishwarya Shukla el 31 de Mzo. de 2023
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. )

Respuesta aceptada

Aishwarya Shukla
Aishwarya Shukla el 31 de Mzo. de 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.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by