Boston: Boston Housing Data (Regression)

BostonR Documentation

Boston Housing Data (Regression)

Description

housing values in suburbs of Boston

Usage

data(Boston)

Format

A data frame with 506 Instances and 14 attributes (including the class attribute, "medv")

crim

per capita crime rate by town

zn

proportion of residential land zoned for lots over 25,000 sq.ft.

indus

proportion of non-retail business acres per town

chas

Charles River dummy variable (= 1 if tract bounds)

nox

nitric oxides concentration (parts per 10 million)

rm

average number of rooms per dwelling

age

proportion of owner-occupied units built prior to 1940

dis

weighted distances to five Boston employment centres

rad

index of accessibility to radial highways

tax

full-value property-tax rate per $10,000

ptratio

pupil-teacher ratio by town

black

1000(Bk - 0.63)^2 where Bk is the proportion of blacks by town

lstat

percentage of lower status of the population

medv

Median value of owner-occupied homes in $1000's

Source

This dataset was taken from the StatLib library which is maintained at Carnegie Mellon University.

Creator: Harrison, D. and Rubinfeld, D.L. 'Hedonic prices and the demand for clean air', J. Environ. Economics & Management, vol.5, 81-102, 1978.

References

https://archive.ics.uci.edu/ml/datasets/Housing

Examples


data(Boston)

X = Boston[, -ncol(Boston)]

y = Boston[, ncol(Boston)]

KernelKnn documentation built on Jan. 7, 2023, 1:18 a.m.