Git Product home page Git Product logo

sact's Introduction

Static Analysis Clustering Tool

Build

Usage

Download the latest release from here.

Available clustering algorithms:

  • HCNN with some changes in order to work with the desired input data.

It requires 6 arguments in this order.

  1. path to input csv file.
  2. path to output csv file.
  3. value of k nearest neighbours NN.
  4. first NN algorithm (1-KNN, 2-MKNN, 3-RKNN).
  5. second NN algoruthm (1-KNN, 2-MKNN, 3-RKNN).
  6. number of desired clusters.

Example:

$ java −jar SACT−1.1−SNAPSHOT.jar ./exp1.csv ./res.csv 3 1 1 2

It will print the created clusters in the console as well as create a csv file with the clusters.

Example input csv file:

ID SCHEMA NAME TYPE SCHEMA NAME TYPE
0 TestSchema 10 TestType TestSchema 1 TestType
1 TestSchema 10 TestType TestSchema 2 TestType
2 TestSchema 10 TestType TestSchema 3 TestType
3 TestSchema 10 TestType TestSchema 4 TestType
4 TestSchema 10 TestType TestSchema 5 TestType
5 TestSchema 10 TestType TestSchema 6 TestType
6 TestSchema 10 TestType TestSchema 8 TestType
7 TestSchema 1 TestType TestSchema 2 TestType
8 TestSchema 1 TestType TestSchema 3 TestType
9 TestSchema 1 TestType TestSchema 4 TestType
10 TestSchema 2 TestType TestSchema 3 TestType
11 TestSchema 2 TestType TestSchema 4 TestType
12 TestSchema 2 TestType TestSchema 5 TestType
13 TestSchema 3 TestType TestSchema 4 TestType
14 TestSchema 3 TestType TestSchema 5 TestType
15 TestSchema 4 TestType TestSchema 5 TestType
16 TestSchema 6 TestType TestSchema 7 TestType
17 TestSchema 6 TestType TestSchema 8 TestType
18 TestSchema 6 TestType TestSchema 9 TestType
19 TestSchema 7 TestType TestSchema 9 TestType
20 TestSchema 7 TestType TestSchema 8 TestType
21 TestSchema 7 TestType TestSchema 11 TestType
22 TestSchema 6 TestType TestSchema 11 TestType
23 TestSchema 9 TestType TestSchema 11 TestType
24 TestSchema 8 TestType TestSchema 9 TestType
25 TestSchema 8 TestType TestSchema 6 TestType
6 TestSchema 10 TestType TestSchema 2 TestType
27 TestSchema 9 TestType TestSchema 7 TestType
28 TestSchema 9 TestType TestSchema 8 TestType

Example output file:

CLUSTER_ID SCHEMA NAME TYPE
0 TestSchema 7 TestType
0 TestSchema 6 TestType
0 TestSchema 8 TestType
0 TestSchema 9 TestType
0 TestSchema 11 TestType
1 TestSchema 1 TestType
1 TestSchema 2 TestType
1 TestSchema 3 TestType
1 TestSchema 4 TestType
1 TestSchema 5 TestType
1 TestSchema 10 TestType

This tool was developed for my thesis project.

sact's People

Contributors

kkoutsilis avatar

Watchers

 avatar

sact's Issues

cli menu.

Create a cli menu in order to be able to select different clustering algorithms and different quality measures.

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.