Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

heatmap(df_train.corr())

import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
//to check multicolinearity
plt.figure(figsize = (30, 25))
sns.heatmap(table.corr())
plt.show()
Comment

PREVIOUS NEXT
Code Example
Python :: ndarray to list 
Python :: django import models 
Python :: set axis ticks matplotlib 
Python :: python - remove repeted columns in a df 
Python :: easy sending email python 
Python :: python tkinter close gui window 
Python :: get output of ps aux grep python 
Python :: extract name organization using nltk 
Python :: pandas split dataframe to train and test 
Python :: random matrix python 
Python :: python dict to url params 
Python :: is string python 
Python :: python suppress exponential notation 
Python :: difference between two dates in days python 
Python :: strftime python 
Python :: python zip listas diferente tamaño 
Python :: make a message appear after specified Time python 
Python :: prekladac 
Python :: concat tensors pytorch 
Python :: python loop through files in directory 
Python :: matplotlib change bar color under threshold 
Python :: apple 
Python :: insert QlineEdit into QMenu python 
Python :: python initialize list length n 
Python :: print console sys.stdout 
Python :: python import upper directory 
Python :: django model query add annotation field to show duplicate count 
Python :: numpy multiply by inverse square root of value 
Python :: df to excel 
Python :: date format in django template 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =