{
  "id": 113772,
  "title": "Air Temperature Visualization - Can we Guess the City ?",
  "url": "/competitions/ashrae-energy-prediction/discussion/113772",
  "author_name": "",
  "post_date": "2019-10-22T05:35:47.919788700Z",
  "votes": 15,
  "comment_count": 19,
  "views": 0,
  "content": "<p>Hi,\nI created this kernel to visualize the yearly air temperate groupby month. </p>\n\n<p><a href=\"https://www.kaggle.com/ccjoshua/ashrae-airtemperature\">My Kernel -&gt; https://www.kaggle.com/ccjoshua/ashrae-airtemperature</a></p>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F3021244%2Fef43ab9315d530dcdfdd505041883a32%2Fplot.png?generation=1571726661540409&amp;alt=media\" alt=\"\"></p>\n\n<p>Most of the temperature peak around mid of the year. It has to be at <strong>northern hemisphere</strong>.</p>\n\n<p>If we compare with Wikipedia average monthly temperature across the cities around the world, can we roughly guess where are those stations located ?</p>\n\n<p><a href=\"https://en.wikipedia.org/wiki/List_of_cities_by_average_temperature\">https://en.wikipedia.org/wiki/List_of_cities_by_average_temperature</a></p>\n\n<p>What do you think ?</p>",
  "messages": [
    {
      "id": "654627",
      "postDate": "10/22/2019 05:35:47",
      "content": "<p>Hi,\nI created this kernel to visualize the yearly air temperate groupby month. </p>\n\n<p><a href=\"https://www.kaggle.com/ccjoshua/ashrae-airtemperature\">My Kernel -&gt; https://www.kaggle.com/ccjoshua/ashrae-airtemperature</a></p>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F3021244%2Fef43ab9315d530dcdfdd505041883a32%2Fplot.png?generation=1571726661540409&amp;alt=media\" alt=\"\"></p>\n\n<p>Most of the temperature peak around mid of the year. It has to be at <strong>northern hemisphere</strong>.</p>\n\n<p>If we compare with Wikipedia average monthly temperature across the cities around the world, can we roughly guess where are those stations located ?</p>\n\n<p><a href=\"https://en.wikipedia.org/wiki/List_of_cities_by_average_temperature\">https://en.wikipedia.org/wiki/List_of_cities_by_average_temperature</a></p>\n\n<p>What do you think ?</p>",
      "rawMarkdown": "Hi,\nI created this kernel to visualize the yearly air temperate groupby month. \n\n[My Kernel -&gt; https://www.kaggle.com/ccjoshua/ashrae-airtemperature](https://www.kaggle.com/ccjoshua/ashrae-airtemperature)\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F3021244%2Fef43ab9315d530dcdfdd505041883a32%2Fplot.png?generation=1571726661540409&amp;alt=media)\n\nMost of the temperature peak around mid of the year. It has to be at **northern hemisphere**.\n\nIf we compare with Wikipedia average monthly temperature across the cities around the world, can we roughly guess where are those stations located ?\n\n\n[https://en.wikipedia.org/wiki/List_of_cities_by_average_temperature](https://en.wikipedia.org/wiki/List_of_cities_by_average_temperature)\n\n\nWhat do you think ?",
      "votes": null
    },
    {
      "id": "654676",
      "postDate": "10/22/2019 07:03:47",
      "content": "<p>So what are the cities? or are you trying to crowd source it? ;) <br>\nYou should scrape a site with the averages per year, though. Or at least, average all 3 years in this dataset, otherwise you'll be comparing apples to oranges...</p>",
      "rawMarkdown": "So what are the cities? or are you trying to crowd source it? ;)   \nYou should scrape a site with the averages per year, though. Or at least, average all 3 years in this dataset, otherwise you'll be comparing apples to oranges...",
      "votes": null
    },
    {
      "id": "654721",
      "postDate": "10/22/2019 08:08:40",
      "content": "<p>Inside my kernel I have a 3 years plot, it repeated pattern is obvious, average 3 years out, I'm expecting similar pattern.</p>\n\n<p>I will presume all station are in United State for now :D . \nSite_0 air temperature look similar to Tampa city</p>\n\n<p>Perhaps can combine with other metrics to further narrow down.</p>",
      "rawMarkdown": "Inside my kernel I have a 3 years plot, it repeated pattern is obvious, average 3 years out, I'm expecting similar pattern.\n\nI will presume all station are in United State for now :D . \nSite_0 air temperature look similar to Tampa city\n \nPerhaps can combine with other metrics to further narrow down.",
      "votes": null
    },
    {
      "id": "654770",
      "postDate": "10/22/2019 09:42:48",
      "content": "<p>I think sites (0, 8) and (7, 11) are the same</p>",
      "rawMarkdown": "I think sites (0, 8) and (7, 11) are the same",
      "votes": null
    },
    {
      "id": "654791",
      "postDate": "10/22/2019 10:20:13",
      "content": "<p>Wow!!  nice intuition. I'm not aware of that.</p>\n\n<p>May be they are very close to each other.</p>",
      "rawMarkdown": "Wow!!  nice intuition. I'm not aware of that.\n\nMay be they are very close to each other.",
      "votes": null
    },
    {
      "id": "655213",
      "postDate": "10/22/2019 20:11:29",
      "content": "<p>Definitely all places in the northern hemisphere</p>",
      "rawMarkdown": "Definitely all places in the northern hemisphere",
      "votes": null
    },
    {
      "id": "655224",
      "postDate": "10/22/2019 20:36:59",
      "content": "<p>Cool\nYou can find the time zone by looking at what time the meter 0/electricity goes up (early morning)\nAs someone mentioned, it looks like the timestamp is in UTC...</p>\n\n<p>Edit: Sorry, looking at the hours I can't see any difference on starting times, so everything has to be local time.</p>",
      "rawMarkdown": "Cool\nYou can find the time zone by looking at what time the meter 0/electricity goes up (early morning)\nAs someone mentioned, it looks like the timestamp is in UTC...\n\nEdit: Sorry, looking at the hours I can't see any difference on starting times, so everything has to be local time.",
      "votes": null
    },
    {
      "id": "655286",
      "postDate": "10/22/2019 21:54:13",
      "content": "<p>if you PCA the air temperatures grouped by site and timestamp you get sort of a map:\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F451025%2Fb8b8f436b3735aa372e0e82b9c54131f%2Fweather_pca.png?generation=1571780461852902&amp;alt=media\" alt=\"Weather PCA\">\nIf you rotate that map, you should get somehow the map of USA? (after some non-linear distortion lol)\nLeft is cold and right is warm.\nUp and down maybe the east and west? not sure...</p>\n\n<p>Sites (0, 8) and (7, 11) are indeed the same (in the plot they're on top of each other) All the values match to the hour, abs diff == 0.0</p>",
      "rawMarkdown": "if you PCA the air temperatures grouped by site and timestamp you get sort of a map:\n![Weather PCA](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F451025%2Fb8b8f436b3735aa372e0e82b9c54131f%2Fweather_pca.png?generation=1571780461852902&amp;alt=media)\nIf you rotate that map, you should get somehow the map of USA? (after some non-linear distortion lol)\nLeft is cold and right is warm.\nUp and down maybe the east and west? not sure...\n\nSites (0, 8) and (7, 11) are indeed the same (in the plot they're on top of each other) All the values match to the hour, abs diff == 0.0",
      "votes": null
    },
    {
      "id": "655353",
      "postDate": "10/23/2019 00:58:13",
      "content": "<p>Never though of to use PCA to 'visualize' the location ! 👍 👍 \nVery interesting approach !!! </p>",
      "rawMarkdown": "Never though of to use PCA to 'visualize' the location ! 👍 👍 \nVery interesting approach !!!",
      "votes": null
    },
    {
      "id": "655373",
      "postDate": "10/23/2019 01:42:19",
      "content": "<p>Definitely planet Earth. Only Earth people would use something other than Kelvin.</p>",
      "rawMarkdown": "Definitely planet Earth. Only Earth people would use something other than Kelvin.",
      "votes": null
    },
    {
      "id": "655720",
      "postDate": "10/23/2019 12:38:01",
      "content": "<p>Definitely those are Mars temperatures. 👀😄 </p>",
      "rawMarkdown": "Definitely those are Mars temperatures. 👀😄",
      "votes": null
    },
    {
      "id": "656909",
      "postDate": "10/24/2019 18:37:41",
      "content": "<p><strong>(UPD)</strong> Another confirmation, site's (0-8) and (7-11) weather chunks are indeed the same, they have the same missing values in full 2016-2018 weather dataset\n<br>Full info you can view in <a href=\"https://www.kaggle.com/frednavruzov/nan-restoration-techniques-for-weather-data\">this kernel</a>\n(however, PCA approach of <a href=\"/hmendonca\">@hmendonca</a> is a much more elegant way to spot it 👍 )\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F724138%2F04d8cebedc851e6577af4eae89905d0c%2FScreenshot_weather_data.png?generation=1571943341532204&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "**(UPD)** Another confirmation, site's (0-8) and (7-11) weather chunks are indeed the same, they have the same missing values in full 2016-2018 weather dataset\n<br>Full info you can view in [this kernel](https://www.kaggle.com/frednavruzov/nan-restoration-techniques-for-weather-data)\n(however, PCA approach of @hmendonca is a much more elegant way to spot it 👍 )\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F724138%2F04d8cebedc851e6577af4eae89905d0c%2FScreenshot_weather_data.png?generation=1571943341532204&amp;alt=media)",
      "votes": null
    },
    {
      "id": "658881",
      "postDate": "10/26/2019 17:16:05",
      "content": "<p>I think 7 and 11 are in Canada, and 1,5,12 in Europe. Your PCA seems to capture those clusters.\nAlso I think 2,4,10 are more west than the rest, but your \"map\" doesn't capture that.\n<a href=\"https://www.kaggle.com/c/ashrae-energy-prediction/discussion/114483\">source</a></p>",
      "rawMarkdown": "I think 7 and 11 are in Canada, and 1,5,12 in Europe. Your PCA seems to capture those clusters.\nAlso I think 2,4,10 are more west than the rest, but your \"map\" doesn't capture that.\n[source](https://www.kaggle.com/c/ashrae-energy-prediction/discussion/114483)",
      "votes": null
    },
    {
      "id": "659048",
      "postDate": "10/27/2019 01:38:56",
      "content": "<p>Cool idea</p>",
      "rawMarkdown": "Cool idea",
      "votes": null
    },
    {
      "id": "659060",
      "postDate": "10/27/2019 02:22:56",
      "content": "<p>how did you do the PCA? I kind of don't understand how PCA could be used to show location of sites, thanks^ ^ <a href=\"/hmendonca\">@hmendonca</a></p>",
      "rawMarkdown": "how did you do the PCA? I kind of don't understand how PCA could be used to show location of sites, thanks^ ^ @hmendonca",
      "votes": null
    },
    {
      "id": "659112",
      "postDate": "10/27/2019 05:23:31",
      "content": "<p><a href=\"/hmendonca\">@hmendonca</a> Are you a wizard?</p>",
      "rawMarkdown": "hmendonca Are you a wizard?",
      "votes": null
    },
    {
      "id": "659930",
      "postDate": "10/28/2019 13:13:59",
      "content": "<p>In nutshell, PCA will 'group' similar/relevant data closer to each other. \nIf sites are close to each other, the temperature reading has be relatively similar. </p>",
      "rawMarkdown": "In nutshell, PCA will 'group' similar/relevant data closer to each other. \nIf sites are close to each other, the temperature reading has be relatively similar.",
      "votes": null
    },
    {
      "id": "659981",
      "postDate": "10/28/2019 14:18:56",
      "content": "<p><a href=\"/chenyamei\">@chenyamei</a> you have to create a matrix of site_id by hourly temperatures, and then apply [sklearn] PCA on it to reduce to the 2 dimensions in the plot above. I'll try to post the code if I find some time (it's only a couple of lines though).</p>",
      "rawMarkdown": "chenyamei you have to create a matrix of site_id by hourly temperatures, and then apply [sklearn] PCA on it to reduce to the 2 dimensions in the plot above. I'll try to post the code if I find some time (it's only a couple of lines though).",
      "votes": null
    },
    {
      "id": "661207",
      "postDate": "10/30/2019 02:42:00",
      "content": "<p>I just located most of sites according to external dataset from kaggle.\n(Already post in \"External Data Disclosure Thread\")</p>\n\n<p>Here's the notebook:\n<a href=\"https://www.kaggle.com/patrick0302/locate-cities-according-weather-temperature\">https://www.kaggle.com/patrick0302/locate-cities-according-weather-temperature</a></p>\n\n<p>Hope it helps!</p>",
      "rawMarkdown": "I just located most of sites according to external dataset from kaggle.\n(Already post in \"External Data Disclosure Thread\")\n\nHere's the notebook:\nhttps://www.kaggle.com/patrick0302/locate-cities-according-weather-temperature\n\nHope it helps!",
      "votes": null
    },
    {
      "id": "666941",
      "postDate": "11/06/2019 16:34:09",
      "content": "<p>Sorry, with much delay, I finally posted the code for the PCA in this kernel: <a href=\"https://www.kaggle.com/hmendonca/clean-weather-data-eda\">https://www.kaggle.com/hmendonca/clean-weather-data-eda</a>\nIt's good that we now know the location of the buildings and can confirm our theories hehe\ncheers</p>",
      "rawMarkdown": "Sorry, with much delay, I finally posted the code for the PCA in this kernel: https://www.kaggle.com/hmendonca/clean-weather-data-eda\nIt's good that we now know the location of the buildings and can confirm our theories hehe\ncheers",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 654676,
      "author_name": "hmendonca",
      "author_url": "",
      "post_date": "10/22/2019 07:03:47",
      "content": "<p>So what are the cities? or are you trying to crowd source it? ;) <br>\nYou should scrape a site with the averages per year, though. Or at least, average all 3 years in this dataset, otherwise you'll be comparing apples to oranges...</p>",
      "votes": null,
      "replies": [
        {
          "id": 654721,
          "author_name": "ccjoshua",
          "author_url": "",
          "post_date": "10/22/2019 08:08:40",
          "content": "<p>Inside my kernel I have a 3 years plot, it repeated pattern is obvious, average 3 years out, I'm expecting similar pattern.</p>\n\n<p>I will presume all station are in United State for now :D . \nSite_0 air temperature look similar to Tampa city</p>\n\n<p>Perhaps can combine with other metrics to further narrow down.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 655224,
          "author_name": "hmendonca",
          "author_url": "",
          "post_date": "10/22/2019 20:36:59",
          "content": "<p>Cool\nYou can find the time zone by looking at what time the meter 0/electricity goes up (early morning)\nAs someone mentioned, it looks like the timestamp is in UTC...</p>\n\n<p>Edit: Sorry, looking at the hours I can't see any difference on starting times, so everything has to be local time.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 659060,
          "author_name": "chenyamei",
          "author_url": "",
          "post_date": "10/27/2019 02:22:56",
          "content": "<p>how did you do the PCA? I kind of don't understand how PCA could be used to show location of sites, thanks^ ^ <a href=\"/hmendonca\">@hmendonca</a></p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 659930,
          "author_name": "ccjoshua",
          "author_url": "",
          "post_date": "10/28/2019 13:13:59",
          "content": "<p>In nutshell, PCA will 'group' similar/relevant data closer to each other. \nIf sites are close to each other, the temperature reading has be relatively similar. </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 659981,
          "author_name": "hmendonca",
          "author_url": "",
          "post_date": "10/28/2019 14:18:56",
          "content": "<p><a href=\"/chenyamei\">@chenyamei</a> you have to create a matrix of site_id by hourly temperatures, and then apply [sklearn] PCA on it to reduce to the 2 dimensions in the plot above. I'll try to post the code if I find some time (it's only a couple of lines though).</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 654770,
      "author_name": "sergeylebedev",
      "author_url": "",
      "post_date": "10/22/2019 09:42:48",
      "content": "<p>I think sites (0, 8) and (7, 11) are the same</p>",
      "votes": null,
      "replies": [
        {
          "id": 654791,
          "author_name": "ccjoshua",
          "author_url": "",
          "post_date": "10/22/2019 10:20:13",
          "content": "<p>Wow!!  nice intuition. I'm not aware of that.</p>\n\n<p>May be they are very close to each other.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 655286,
          "author_name": "hmendonca",
          "author_url": "",
          "post_date": "10/22/2019 21:54:13",
          "content": "<p>if you PCA the air temperatures grouped by site and timestamp you get sort of a map:\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F451025%2Fb8b8f436b3735aa372e0e82b9c54131f%2Fweather_pca.png?generation=1571780461852902&amp;alt=media\" alt=\"Weather PCA\">\nIf you rotate that map, you should get somehow the map of USA? (after some non-linear distortion lol)\nLeft is cold and right is warm.\nUp and down maybe the east and west? not sure...</p>\n\n<p>Sites (0, 8) and (7, 11) are indeed the same (in the plot they're on top of each other) All the values match to the hour, abs diff == 0.0</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 655353,
          "author_name": "ccjoshua",
          "author_url": "",
          "post_date": "10/23/2019 00:58:13",
          "content": "<p>Never though of to use PCA to 'visualize' the location ! 👍 👍 \nVery interesting approach !!! </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 658881,
          "author_name": "sdoria",
          "author_url": "",
          "post_date": "10/26/2019 17:16:05",
          "content": "<p>I think 7 and 11 are in Canada, and 1,5,12 in Europe. Your PCA seems to capture those clusters.\nAlso I think 2,4,10 are more west than the rest, but your \"map\" doesn't capture that.\n<a href=\"https://www.kaggle.com/c/ashrae-energy-prediction/discussion/114483\">source</a></p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 659112,
          "author_name": "gunesevitan",
          "author_url": "",
          "post_date": "10/27/2019 05:23:31",
          "content": "<p><a href=\"/hmendonca\">@hmendonca</a> Are you a wizard?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 666941,
          "author_name": "hmendonca",
          "author_url": "",
          "post_date": "11/06/2019 16:34:09",
          "content": "<p>Sorry, with much delay, I finally posted the code for the PCA in this kernel: <a href=\"https://www.kaggle.com/hmendonca/clean-weather-data-eda\">https://www.kaggle.com/hmendonca/clean-weather-data-eda</a>\nIt's good that we now know the location of the buildings and can confirm our theories hehe\ncheers</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 655213,
      "author_name": "sergeylebedev",
      "author_url": "",
      "post_date": "10/22/2019 20:11:29",
      "content": "<p>Definitely all places in the northern hemisphere</p>",
      "votes": null,
      "replies": [
        {
          "id": 655373,
          "author_name": "abednadir",
          "author_url": "",
          "post_date": "10/23/2019 01:42:19",
          "content": "<p>Definitely planet Earth. Only Earth people would use something other than Kelvin.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 655720,
          "author_name": "drexpz",
          "author_url": "",
          "post_date": "10/23/2019 12:38:01",
          "content": "<p>Definitely those are Mars temperatures. 👀😄 </p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 656909,
      "author_name": "frednavruzov",
      "author_url": "",
      "post_date": "10/24/2019 18:37:41",
      "content": "<p><strong>(UPD)</strong> Another confirmation, site's (0-8) and (7-11) weather chunks are indeed the same, they have the same missing values in full 2016-2018 weather dataset\n<br>Full info you can view in <a href=\"https://www.kaggle.com/frednavruzov/nan-restoration-techniques-for-weather-data\">this kernel</a>\n(however, PCA approach of <a href=\"/hmendonca\">@hmendonca</a> is a much more elegant way to spot it 👍 )\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F724138%2F04d8cebedc851e6577af4eae89905d0c%2FScreenshot_weather_data.png?generation=1571943341532204&amp;alt=media\" alt=\"\"></p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 659048,
      "author_name": "adelmofilho42",
      "author_url": "",
      "post_date": "10/27/2019 01:38:56",
      "content": "<p>Cool idea</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 661207,
      "author_name": "patrick0302",
      "author_url": "",
      "post_date": "10/30/2019 02:42:00",
      "content": "<p>I just located most of sites according to external dataset from kaggle.\n(Already post in \"External Data Disclosure Thread\")</p>\n\n<p>Here's the notebook:\n<a href=\"https://www.kaggle.com/patrick0302/locate-cities-according-weather-temperature\">https://www.kaggle.com/patrick0302/locate-cities-according-weather-temperature</a></p>\n\n<p>Hope it helps!</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "654627": "Hi,\nI created this kernel to visualize the yearly air temperate groupby month. \n\n[My Kernel -&gt; https://www.kaggle.com/ccjoshua/ashrae-airtemperature](https://www.kaggle.com/ccjoshua/ashrae-airtemperature)\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F3021244%2Fef43ab9315d530dcdfdd505041883a32%2Fplot.png?generation=1571726661540409&amp;alt=media)\n\nMost of the temperature peak around mid of the year. It has to be at **northern hemisphere**.\n\nIf we compare with Wikipedia average monthly temperature across the cities around the world, can we roughly guess where are those stations located ?\n\n\n[https://en.wikipedia.org/wiki/List_of_cities_by_average_temperature](https://en.wikipedia.org/wiki/List_of_cities_by_average_temperature)\n\n\nWhat do you think ?",
    "654676": "So what are the cities? or are you trying to crowd source it? ;)   \nYou should scrape a site with the averages per year, though. Or at least, average all 3 years in this dataset, otherwise you'll be comparing apples to oranges...",
    "654721": "Inside my kernel I have a 3 years plot, it repeated pattern is obvious, average 3 years out, I'm expecting similar pattern.\n\nI will presume all station are in United State for now :D . \nSite_0 air temperature look similar to Tampa city\n \nPerhaps can combine with other metrics to further narrow down.",
    "654770": "I think sites (0, 8) and (7, 11) are the same",
    "654791": "Wow!!  nice intuition. I'm not aware of that.\n\nMay be they are very close to each other.",
    "655213": "Definitely all places in the northern hemisphere",
    "655224": "Cool\nYou can find the time zone by looking at what time the meter 0/electricity goes up (early morning)\nAs someone mentioned, it looks like the timestamp is in UTC...\n\nEdit: Sorry, looking at the hours I can't see any difference on starting times, so everything has to be local time.",
    "655286": "if you PCA the air temperatures grouped by site and timestamp you get sort of a map:\n![Weather PCA](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F451025%2Fb8b8f436b3735aa372e0e82b9c54131f%2Fweather_pca.png?generation=1571780461852902&amp;alt=media)\nIf you rotate that map, you should get somehow the map of USA? (after some non-linear distortion lol)\nLeft is cold and right is warm.\nUp and down maybe the east and west? not sure...\n\nSites (0, 8) and (7, 11) are indeed the same (in the plot they're on top of each other) All the values match to the hour, abs diff == 0.0",
    "655353": "Never though of to use PCA to 'visualize' the location ! 👍 👍 \nVery interesting approach !!!",
    "655373": "Definitely planet Earth. Only Earth people would use something other than Kelvin.",
    "655720": "Definitely those are Mars temperatures. 👀😄",
    "656909": "**(UPD)** Another confirmation, site's (0-8) and (7-11) weather chunks are indeed the same, they have the same missing values in full 2016-2018 weather dataset\n<br>Full info you can view in [this kernel](https://www.kaggle.com/frednavruzov/nan-restoration-techniques-for-weather-data)\n(however, PCA approach of @hmendonca is a much more elegant way to spot it 👍 )\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F724138%2F04d8cebedc851e6577af4eae89905d0c%2FScreenshot_weather_data.png?generation=1571943341532204&amp;alt=media)",
    "658881": "I think 7 and 11 are in Canada, and 1,5,12 in Europe. Your PCA seems to capture those clusters.\nAlso I think 2,4,10 are more west than the rest, but your \"map\" doesn't capture that.\n[source](https://www.kaggle.com/c/ashrae-energy-prediction/discussion/114483)",
    "659048": "Cool idea",
    "659060": "how did you do the PCA? I kind of don't understand how PCA could be used to show location of sites, thanks^ ^ @hmendonca",
    "659112": "hmendonca Are you a wizard?",
    "659930": "In nutshell, PCA will 'group' similar/relevant data closer to each other. \nIf sites are close to each other, the temperature reading has be relatively similar.",
    "659981": "chenyamei you have to create a matrix of site_id by hourly temperatures, and then apply [sklearn] PCA on it to reduce to the 2 dimensions in the plot above. I'll try to post the code if I find some time (it's only a couple of lines though).",
    "661207": "I just located most of sites according to external dataset from kaggle.\n(Already post in \"External Data Disclosure Thread\")\n\nHere's the notebook:\nhttps://www.kaggle.com/patrick0302/locate-cities-according-weather-temperature\n\nHope it helps!",
    "666941": "Sorry, with much delay, I finally posted the code for the PCA in this kernel: https://www.kaggle.com/hmendonca/clean-weather-data-eda\nIt's good that we now know the location of the buildings and can confirm our theories hehe\ncheers"
  },
  "source": "meta"
}