ucd-cws / suitability-analysis

Web application for determining relocation options for highly flooded towns
1 stars 2 forks source link

Need a method to center, but not scale specific fields #36

Open nickrsan opened 8 years ago

nickrsan commented 8 years ago

We need to be able to center, but not scale the categorical fields. Probably need to run a separate center/scale option for each field and have a way to output whether they should be centered/scaled (or maybe that happens in the data retriever)

nickrsan commented 8 years ago

Not sure if we need this at all, but ask Ryan.

nickrsan commented 8 years ago

@ryan-ucd Question if you have a moment - I'm using a categorical field in my model. My model transforms it so that each unique value of the field becomes its own variable (eg: land_use becomes land_use_urban, land_use_open_water, etc) with values of 0 and 1 in those fields for whether or not the land use type is present there. I'm curious about whether or not I should be excluding variables like this from my code to scale and center the values. I go back and forth and I'm just not sure. Thank you!