My Project
Functions | Variables
LFRTest.cc File Reference

Test an algorithm on LFR benchmark. More...

#include "MyTools.h"
#include "cluster.h"
#include "CIS.h"
#include "nation.h"
#include <boost/tuple/tuple.hpp>
#include <boost/tuple/tuple_comparison.hpp>

Functions

int main (int argc, char **argv)

Variables

int ITER = 5

Detailed Description

Test an algorithm on LFR benchmark.

Automatically runs a clustering algorithm on the LFR benchmark with the given parameters, and computes binary classification (Fscore, recall, precision) along with NMI scores of the results when compared with the ground truth used to generate the network.


Function Documentation

int main ( int  argc,
char **  argv 
)
Parameters:
-nSize of network
-kAverage node degree
-maxkMaximum node degree
-muMixing Parameter
-plPower Law Exponent
-onOverlapping Nodes
-omOverlapping Memberships

Variable Documentation

int ITER = 5

Number of times to run (and average results of) cluster algorithm

 All Classes Files Functions Variables Typedefs