emocodes.plotting
Submodules
Package Contents
Functions
|
This function plots variance inflation factor scores with the horizontal lines denoting the standard cut offs: |
|
This function plots a heatmap. |
- emocodes.plotting.plot_vif(vif_scores)
This function plots variance inflation factor scores with the horizontal lines denoting the standard cut offs:
<2 = not collinear
2-5 = weakly collinear and likely okay to include together in a model
5-10 = moderately collinear, proceed with caution
>10 = highly collinear, do not include together in a multiple linear regression model
- Parameters
vif_scores (Series) – VIF scores to plot.
- Returns
fig – matplotlib figure object of the plot
- Return type
object
- emocodes.plotting.plot_heatmap(data)
This function plots a heatmap.
- Parameters
data (DataFrame) – NxN dataframe to plot.
- Returns
fig – matplotlib figure object of the plot
- Return type
object