Git Product home page Git Product logo

ageprediction's Introduction

What Reveals Your Exact Age in Social Networks?

From the raw information like profile features and friendship relations we evaluate which features, if revealed, pose a risk to user privacy in the context of age. We perform experiments on a real world online social network and predict the age of users with an average error of 2.62 years, 36% better than previous work. The full project report here.

Structure

  • fcnn/ contains the code for training the FCNN

  • preprocessors/ code for parsing and extracting features from the pokec profile data

  • load_dataset.R code to combine graph embedding features and pokec profile data. code for preparing the dataset (e.g. outliers, normalization)

  • prediction.R models for predicting age and evaluation

  • per_class_metric.R MPA_MAE (see report)

  • correlation_analysis.R basic correlation and R^2

  • outliers.R experiments to identify outliers


What is not contained:

  • histogram generation (R gives this in one line)
  • backward selection (we used the code from prediction with a loop removing each feature, one after the other, one at a time)
  • node2vec code, see external code section

Remarks: Most of the files contain one or several path variables which refer to the location of the data. These must be adjusted accordingly.


Dataset: https://snap.stanford.edu/data/soc-Pokec.html

External Code: https://github.com/snap-stanford/snap/tree/master/examples/node2vec we just applied the code as it is to the relationship graph

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.