Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

graph outlier detection

#checking for outliers

numerical_features=[feature for feature in df.columns if df[feature].dtypes!='object']
for feature in numerical_features:
    if feature=='class(target)':
        pass
    else:
    
        df[feature].plot.box()
        plt.xlabel(feature)
        plt.show()
 
PREVIOUS NEXT
Tagged: #graph #outlier #detection
ADD COMMENT
Topic
Name
4+2 =