Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

weather_i #2

Open
samebohon opened this issue Jun 24, 2019 · 2 comments
Open

weather_i #2

samebohon opened this issue Jun 24, 2019 · 2 comments

Comments

@samebohon
Copy link

Thanks so much for sharing.

I have a really basic question. What are the "weather_i" variables are they dummy variables or prehaps some other weather observation type supplementing the temperature data?

Thanks

samebohon

@dafrie
Copy link
Owner

dafrie commented Jun 24, 2019

Sorry, my documentation on
the public repository is not great and I had to check my term paper I wrote from back then:

"For each city, the temperature (◦F) and a qualitative weather
categorization (bad, neutral, nice) has been collected. In total, there are
32 features describing weather."

So its actually One-Hot-Encoding of a 3 category variable and the original
data was the "icon" from the Dark Sky API, with the mapping defined in the
config.json:

{
   ...
  "iconmap": {
    "clear-day": 1,
    "clear-night": 2,
    "rain": 3,
    "snow": 3,
    "sleet": 3,
    "wind": 3,
    "fog": 3,
    "cloudy": 3,
    "partly-cloudy-day": 1,
    "partly-cloudy-night": 2
  }
}

Looking back at this, it seems actually quite random so I wouldn't
interpret much into this variable ;)

@samebohon
Copy link
Author

Hi there,

Thanks for this. After I sent the query I actually figured it out but it is great to have your confirmation.

I am intrigued, are you working in energy modelling at present, or did you leave energy behind after this?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants