tokuinico / work Goto Github PK
View Code? Open in Web Editor NEW魏綾音學姊的code整理
魏綾音學姊的code整理
Descripts The goal of this Project is to calcualte the score of ROIs, which used to recommend travel trajectories. First, read trajectories history and region data from given database. Second, tranform the trajectories to a sequences of potential regions. Third, Tacke out the edges from sequences, and calculate their weight. Finally, calculate scores of each region by summarizing all linked ROIs multiplied by their weight and proportion Input The input are 2 database, trajectory and region. the type of database is postgresql. Trajectory is a database that contains sequences of points for each trajectory. format: tid, tid, index, lon ,lat Region is a database that contains region id, rang, and density, which means the number of trajectory that passes through this region format: rid, density, range Output The output is the text file that contains ROIs and their score format: rid, score Language C++, php File 1_preprocess.php Transform geo trajectories to lists of potential regions 2_filterTraDB.cpp Filter repeating Rid in each trajectory and trajectories that do not have regions 3_linkR.cpp Generate in links and out links of each region 4_importEdge.php Insert all edge to DB grid3x_edge 5_weight.php Calculate weight of each edge 6_scorePR_new.cpp Compute scores of each PR from links How to run 1. compile 2_filterTraDB.cpp to 2_filterTraDB compile 3_linkR.cpp to 3_linkR compile 6_scorePR_new.cpp to 6_scorePR_new 2. sequentially excute 1_preprocess.php, 2_filterTraDB, 3_linkR, 4_importEdge.php, 5_weight.php, 6_scorePR_new
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.