remove outlier in large data

1 visualización (últimos 30 días)
azar mzory
azar mzory el 10 de En. de 2014
Editada: azar mzory el 13 de Abr. de 2014
my question how to find outlier in matlab explain by code and example ? and how many methods ? how to find outlier?

Respuesta aceptada

Image Analyst
Image Analyst el 11 de En. de 2014
Try this:
% data = the variable name of your array
stdDev = std(data(:)) % Compute standard deviation
meanValue = mean(data(:)) % Compute mean
zFactor = 1.5; % or whatever you want.
% Create a binary map of where outliers live.
outliers = abs(data-meanValue) > (zFactor * stdDev);
  4 comentarios
azar mzory
azar mzory el 12 de En. de 2014
how i want to check all columns one by one cuz some columns have words should be neglect how many ways to find outlier in big text data ? it is not clear any code
Image Analyst
Image Analyst el 15 de En. de 2014
I don't know how to define outliers in text (words). For example, in this comment that you're reading now, which of the words are "outliers" and why?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Data Preprocessing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by