Coder Social home page Coder Social logo

1121_computational_thinking_final's Introduction

1121 Computational Thinking Final

這個repo包含著我抓到的天氣資料,可以抓下來去訓練模型。 目前這些內容是用GitHub Actions自動抓的。但是他們伺服器的負載頗高,時不時會有些時間沒抓到的情形。因此我還有一個手動的備份伺服器在抓,但是只會在我發現有缺漏的資料的時候才會來手動加上。

raw_weather_data資料夾內包含的是抓下來的原始天氣資料,可以用以下的方式使用:

使用json2dataframe.py

這個檔案適合Python模型組使用,可以將那些JSON原始檔案轉換成Pandas DataFrame。

使用json2csv.py

這個檔案適合rapidminer組使用,可以在執行Python程式後得到csv檔:

  1. 執行Python程式
    python3 json2csv.py

使用json2timecsv.py

這個可以直接把我們的資料建立成每行都有4個連續的小時的資料的樣子,就像是直接建立時間序列的資料一般。

  1. 安裝套件
    pip install pandas
  2. 更新天氣資訊
    git pull
  3. 執行Python程式
    python3 json2timecsv.py

1121_computational_thinking_final's People

Contributors

timsu92 avatar qiong-yue avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.