chriszblong / lsim Goto Github PK
View Code? Open in Web Editor NEWThis project forked from fastsim2016/lsim
Our implementation of the paper "Efficient SimRank Computation Via Linearization"
License: GNU Lesser General Public License v2.1
This project forked from fastsim2016/lsim
Our implementation of the paper "Efficient SimRank Computation Via Linearization"
License: GNU Lesser General Public License v2.1
Requirement =========== JAMA library needed. We used jama-1.0.2.jar from http://math.nist.gov/javanumerics/jama/ How to Run ========== We can run LinearizedSimRank in 2 steps: Step 1: precompute D: baseline.exec -> OfflineStage.java Step 2: online query processing: single-pair: baseline.exec -> SinglePairOnline.java single-source: baseline.exec -> SingleSourceOnline.java Note that, all the parameters are specified in config.properties file. More notes ========== 1. OfflineStage.java: offline pre computation corresponding to alg. 4 and alg. 5 in the paper. offline.algorithm4(L, graph, T, R, c, D); //alg. 4 in the paper, which will call alg. 5 result5=algorithm5(T, k, R, c, D, G); 2.OnlineStage.java: Online processing-- including alg. 1, 2 and 3 in the paper. public double singlePairSimRank(int T,int i,int j,int n,double c,Matrix D,Matrix P) //single-pair algorithm 1 public double[] singleSourceSimRank(int T,int i,int n,double c,Matrix D,Matrix P) //single-source algorithm 2 Note that, for these two methods, we also have the optimized version singlePairSimRankOptimized and singleSourceSimRankOptimized (which is our own optimization), but the experiments shows that such optimization doesn't improve the efficiency much. So we still use the original methods as described in the paper. 3. SinglePairOnline.jave and SingleSourceOnline.java: each handling one simrank mode 4. Config.java: parameters we used; you can find the description of each parameter in config.properties. Generally, we use the same notations as in the paper to name corresponding variables.
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.