Giter Club home page Giter Club logo

phone_project's Introduction

文件说明

  1. 1.Trajectory tracking.ipynb为用户轨迹追踪代码 http://localhost:8877/notebooks/phone_project_1/Code%20Folder/1.Trajectory%20tracking.ipynb

  2. 文件2是判断新入网和新离网代码。

  3. 3.Get Frequency.ipynb是获取用户频率的代码 https://github.com/Miki123-gif/phone_project/blob/master/Code%20Folder/3.Get%20Frequency.ipynb

  4. 4.time person.ipynb 指定时间进入某地的代码 https://github.com/Miki123-gif/phone_project/blob/master/Code%20Folder/4.time%20person.ipynb

其中文件4是获取某时间进入某地的人群,需要改进下,代码实现的只是某天进过某地的人群。因为可能要改进数据结构,所以这里先等老师回复再修改代码。如果真要实现,可以字典的键是小时,值再嵌套字典,然后获得每个仪器的用户。由于pandas时间切片,获得的是每个时间段,每天的人群。这里我们实现了两层循环。最后只要再外面再加一层循环,即对一天24小时时间切片即可。

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.