Giter Site home page Giter Site logo

populationprediction's Introduction

  1. 京东2018人口预测比赛(赛区决赛第二)

  2. 模型说明: 1.输入数据准备: 1. flow in, flow out , dwell同时输入 2. 加入了trend, season, weight属性 3. 清洗数据处理(节假日) 2. 堆叠5层的GLU模型,输入30天预测下一天。迭代预测n天 3. 再用13个堆叠5层的GLU模型, 基于之前学习模型对每个城市的残差进行建模 4. 用BiGLU(堆叠2层),双序列输入对中间5天时间序列进行建模 5. 两个结果融合得到最终结果

3.安装环境: 1. config.py HOME_PATH_MAP中加入服务器环境信息 HOME_PATH_MAP={socket_name:home_path} 2. 生成HOME_PATH路径文件夹: home_path/workspace/competitionn/population_prediction_JD 并将该工程拷到home_path/workspace/competitionn/population_prediction_JD/目录下 3. config.py 中 随意修改一下_C.MODEL.NAME名称 sh train_glu_point.sh --gpu #生成 smgluresult_file, 在log/Experiment_name/result中 4. config.py 中 随意修改一下_C.MODEL.NAME名称, 保证跟上一个模型名称不同 sh train_biglu_point.sh --gpu #生成 bwgluresult_file, 在log/Experiment_name/result中 5. cd utils prediction_fusion.py中修改一下文件名: smgluresult = smgluresult_file的路径 bwgluresult = bwgluresult_file的路径 python3 prediction_fusion.py 生成最终result,在当前目录的../../prediction_results/fusion/result.csv

populationprediction's People

Contributors

dataphz avatar

Watchers

James Cloos 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.