Ames Housing Dataset VisualizationΒΆ

  • Target distribution
  • Continuous Feature vs Target, F=5.27E+03, F=2.79E+03, F=2.16E+03, F=2.08E+03, F=1.93E+03, F=1.82E+03, F=1.37E+03, F=1.20E+03, F=1.06E+03, F=9.98E+02
  • Categorical Feature vs Target, F=5.76E-01, F=3.72E-01, F=3.27E-01, F=3.26E-01, F=2.95E-01, F=2.86E-01, F=2.63E-01, F=2.36E-01, F=2.35E-01, F=2.28E-01

Out:

/home/circleci/project/dabl/plot/supervised.py:546: FutureWarning: The second positional argument of plot is a Series 'y'. If passing a column name, use a keyword.
  warnings.warn("The second positional argument of plot is a Series 'y'."
Target looks like regression
/home/circleci/project/dabl/plot/utils.py:632: UserWarning: Dropped 2 outliers in column SalePrice.
  warn("Dropped {} outliers in column {}.".format(
Showing only top 10 of 26 continuous features
/home/circleci/project/dabl/plot/utils.py:632: UserWarning: Dropped 3 outliers in column Gr Liv Area.
  warn("Dropped {} outliers in column {}.".format(
/home/circleci/project/dabl/plot/utils.py:632: UserWarning: Dropped 1 outliers in column Garage Cars.
  warn("Dropped {} outliers in column {}.".format(
/home/circleci/project/dabl/plot/utils.py:632: UserWarning: Dropped 2 outliers in column Total Bsmt SF.
  warn("Dropped {} outliers in column {}.".format(
/home/circleci/project/dabl/plot/utils.py:632: UserWarning: Dropped 4 outliers in column 1st Flr SF.
  warn("Dropped {} outliers in column {}.".format(
/home/circleci/project/dabl/plot/utils.py:632: UserWarning: Dropped 1 outliers in column Garage Yr Blt.
  warn("Dropped {} outliers in column {}.".format(
/home/circleci/project/dabl/plot/utils.py:632: UserWarning: Dropped 6 outliers in column Mas Vnr Area.
  warn("Dropped {} outliers in column {}.".format(
Showing only top 10 of 41 categorical features
/home/circleci/project/dabl/plot/utils.py:374: UserWarning: FixedFormatter should only be used together with FixedLocator
  ax.set_xticklabels(
/home/circleci/project/dabl/plot/utils.py:374: UserWarning: FixedFormatter should only be used together with FixedLocator
  ax.set_xticklabels(
/home/circleci/project/dabl/plot/utils.py:374: UserWarning: FixedFormatter should only be used together with FixedLocator
  ax.set_xticklabels(
/home/circleci/project/dabl/plot/utils.py:374: UserWarning: FixedFormatter should only be used together with FixedLocator
  ax.set_xticklabels(
/home/circleci/project/dabl/plot/utils.py:374: UserWarning: FixedFormatter should only be used together with FixedLocator
  ax.set_xticklabels(
/home/circleci/project/dabl/plot/utils.py:374: UserWarning: FixedFormatter should only be used together with FixedLocator
  ax.set_xticklabels(
/home/circleci/project/dabl/plot/utils.py:374: UserWarning: FixedFormatter should only be used together with FixedLocator
  ax.set_xticklabels(
/home/circleci/project/dabl/plot/utils.py:374: UserWarning: FixedFormatter should only be used together with FixedLocator
  ax.set_xticklabels(
/home/circleci/project/dabl/plot/utils.py:374: UserWarning: FixedFormatter should only be used together with FixedLocator
  ax.set_xticklabels(
/home/circleci/project/dabl/plot/utils.py:374: UserWarning: FixedFormatter should only be used together with FixedLocator
  ax.set_xticklabels(

# sphinx_gallery_thumbnail_number = 3
from dabl import plot
from dabl.datasets import load_ames
import matplotlib.pyplot as plt

# load the ames housing dataset
# returns a plain dataframe
data = load_ames()

plot(data, 'SalePrice')
plt.show()

Total running time of the script: ( 0 minutes 5.640 seconds)

Gallery generated by Sphinx-Gallery