Guide

From TrustLet, a free, collaborative project for collecting and analyzing information about trust metrics.

Jump to: navigation, search

The trustlet software is a useful library to manage social network (or a generic WeightedNetwork). With trustlet you can:

  1. manage your WikiNetwork, in your python environment, starting from an xml dump avaiable on [[1]].
  2. manage your AdvogatoNetwork, KaitiakiNetwork, SqueakfoundationNetwork, and Robots_netNetwork.
  3. manage your personal WeightedNetwork or Simple Network starting from a dot, a pajek, or a c2 format.
  4. see many information about your network, using for example the info() method.
  5. see how your network evolve on time, using netevolution
  6. try many trust-metrics, in order to choose the best for your network, using the PredGraph and the WikiPredGraph class.
  7. predict the values on the edges of your network, with the TrustMetric class.
  8. save and share the information about the Wikipedia Networks with all users of trustlet, using sync
  9. convert the c2 format in pajek, or in dot, and viceversa.
  10. store your networks, in the format that you want.
  11. store the information about your network in a c2 cache, in order to avoid to repeat some calculations.

Here we're going to explain how to use trustlet. There is also some examples, and a little tutorial.

[edit] Installation

Download the last version of trustlet from here [[2]], or check out the last revision with this command:

svn checkout http://trust-metrics.googlecode.com/svn/trunk/ trust-metrics-read-only.

Read the INSTALL.txt file for the dependencies, and the installation steps.

[edit] First step using trustlet

In order to know if your installation is good and all works, you can open a python terminal, and type

import trustlet

if the command end withouth any error, trustlet is installed correctly.

[edit] Use trustlet

in tutorial, scripts and examples pages, there is some example for a basic use of trustlet. For a deepest comprehension of the library, is useful to see the pydoc autogenerated files, avaiable at this directory [[3]].

If you are interested in download all the developer documentation click here [[4]].

If you are interested in download an odp (openoffice impress) presentation click here [[5]].

All of the work done on these datasets in [[6]] directory, can be easily shared with other researchers, using the command trustlet_sync, (his usage is explained in scripts). If you haven't this program installed, try `make install` command in the scripts directory of the newest relase of trustlet.

Personal tools