mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
removed floor height from binning
This commit is contained in:
parent
df8bfd7d02
commit
946e6d092e
1 changed files with 2 additions and 3 deletions
|
|
@ -181,7 +181,7 @@ class SapModel:
|
|||
return df
|
||||
|
||||
bucket_variables = ["number-open-fireplaces", "fixed-lighting-outlets-count", 'extension-count',
|
||||
'multi-glaze-proportion', 'floor-height']
|
||||
'multi-glaze-proportion']
|
||||
remaining_numericals = [x for x in self.NUMERICAL_COLUMNS if x not in bucket_variables]
|
||||
|
||||
for col in bucket_variables:
|
||||
|
|
@ -338,8 +338,7 @@ class SapModel:
|
|||
def fit_model(self):
|
||||
|
||||
# Dummy out the categorical variables
|
||||
binned = ["number-open-fireplaces", "fixed-lighting-outlets-count", 'extension-count', 'multi-glaze-proportion',
|
||||
'floor-height']
|
||||
binned = ["number-open-fireplaces", "fixed-lighting-outlets-count", 'extension-count', 'multi-glaze-proportion']
|
||||
|
||||
x = pd.get_dummies(self.model_data, columns=self.CATEGORICAL_COLS + binned, drop_first=True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue