Giter Club home page Giter Club logo

utfp's Introduction

utfp

城市交通流量时空预测---山东省数据应用(青岛)创新创业大赛。http://sdac.qingdao.gov.cn/common/cmptIndex.html

预处理说明

​ 原始数据没有流量的信息,通过预处理函数来统计卡口每5min内的车流量。

为了能够顺利调用预处理函数,需要统一data的目录结构(需手动创建)。项目的data目录未上传,结构如下;其中first是初赛数据、final是复赛数据

  • data

    • first

      • testCrossroadFlow

      • testTaxiGPS

      • trainCrossroadFlow

      • trainTaxiGPS

    • final

      • test_user
      • train
    • submit

      • 0_submit.csv # 初赛提交实例
      • 1_submit.csv # 复赛提交实例

调用示例

# 由于相对路径问题,需要在项目根目录调用,如runex.py
from pre_process.pre_process import PreProcessor
term = 'final'  # 初赛:first;复赛:final
process_num = 2  # 进程数量
PreProcessor(term).dump_buffer(process_num)

# 得到的流量文件如下
# 初赛数据:./data/0_flow_data.csv  ['crossroadID', 'timestamp', 'flow']
# 复赛数据: ./data/1_flow_data.csv  ['crossroadID', 'direction', 'timestamp', 'flow']

文档说明

​ 比赛时的讨论记录、问题、总结都放在docs文件夹

  • docs
    • final term:初赛记录
    • first term: 复赛记录
    • summary: 总结

utfp's People

Contributors

foolishkylin avatar vvlj avatar zhengtinghuang888 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.