Git Product home page Git Product logo

weatherpredict's Introduction

降雨量預測

💻

作法

用BeautifulSoup()爬取網頁資料,拿過去的天氣資料與降雨量做training,透過regression求出回歸直線,再 用爬蟲抓取及時資料做testing,驗證準確率。

下雨定義

1.大雨(heavy rain):
	指24小時累積雨量達80毫米以上,或時雨量達40毫米以上之降雨現象。
2.豪雨(extremely heavy rain):
	指24小時累積雨量達200毫米以上,或3小時累積雨量達100毫米以上之降雨現象。
	若24小時累積雨量達350毫米以上稱之為大豪雨(torrential rain)。
	24小時累積雨量達500毫米以上稱之為超大豪雨(extremely torrential rain)。

使用工具

Python 3.5.3

BeautifulSoup

pandas

sklearn.linear_model

...

檔案

craw_data : 爬取日報表資料。 👍

craw_rain : 爬取即時降雨機率。

craw_year : 爬取年報表資料。

regression : 讀取資料畫出相關性,求regression方程式。

進度

待辦

  • dict讀進json中文亂碼,但在python下可正常顯示。

  • 如何自動點擊,顯示隱藏的html

  • 年報表資料key值尚未去中文

  • 將所有日報表資料作合併。

  • regression到底有沒有相關性

參考資料網站

觀測資料查詢系統

淡水測站日報表

淡水測站月報表

淡水測站年報表

即時降雨機率

台灣氣象站位置分布圖

下雨定義與降雨機率

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.