Class: Datasets::CaliforniaHousing::Record
- Inherits:
-
Struct
- Object
- Struct
- Datasets::CaliforniaHousing::Record
- Defined in:
- lib/datasets/california-housing.rb
Instance Attribute Summary collapse
-
#households ⇒ Object
Returns the value of attribute households.
-
#housing_median_age ⇒ Object
Returns the value of attribute housing_median_age.
-
#latitude ⇒ Object
Returns the value of attribute latitude.
-
#longitude ⇒ Object
Returns the value of attribute longitude.
-
#median_house_value ⇒ Object
Returns the value of attribute median_house_value.
-
#median_income ⇒ Object
Returns the value of attribute median_income.
-
#population ⇒ Object
Returns the value of attribute population.
-
#total_bedrooms ⇒ Object
Returns the value of attribute total_bedrooms.
-
#total_rooms ⇒ Object
Returns the value of attribute total_rooms.
Instance Attribute Details
#households ⇒ Object
Returns the value of attribute households
6 7 8 |
# File 'lib/datasets/california-housing.rb', line 6 def households @households end |
#housing_median_age ⇒ Object
Returns the value of attribute housing_median_age
6 7 8 |
# File 'lib/datasets/california-housing.rb', line 6 def housing_median_age @housing_median_age end |
#latitude ⇒ Object
Returns the value of attribute latitude
6 7 8 |
# File 'lib/datasets/california-housing.rb', line 6 def latitude @latitude end |
#longitude ⇒ Object
Returns the value of attribute longitude
6 7 8 |
# File 'lib/datasets/california-housing.rb', line 6 def longitude @longitude end |
#median_house_value ⇒ Object
Returns the value of attribute median_house_value
6 7 8 |
# File 'lib/datasets/california-housing.rb', line 6 def median_house_value @median_house_value end |
#median_income ⇒ Object
Returns the value of attribute median_income
6 7 8 |
# File 'lib/datasets/california-housing.rb', line 6 def median_income @median_income end |
#population ⇒ Object
Returns the value of attribute population
6 7 8 |
# File 'lib/datasets/california-housing.rb', line 6 def population @population end |
#total_bedrooms ⇒ Object
Returns the value of attribute total_bedrooms
6 7 8 |
# File 'lib/datasets/california-housing.rb', line 6 def total_bedrooms @total_bedrooms end |
#total_rooms ⇒ Object
Returns the value of attribute total_rooms
6 7 8 |
# File 'lib/datasets/california-housing.rb', line 6 def total_rooms @total_rooms end |