Giter Site home page Giter Site logo

unibz-core / mining-cms-patterns Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 49.75 MB

Mining-CMs-Patterns is an application for mining patterns in conceptual models encoded in different conceptual modeling language. Reference paper: Pattern Discovery in Conceptual Models Using Frequent Itemset Mining; Fumagalli, Mattia; Sales, Tiago Princes; Guizzardi, ER 2022

Python 100.00%

mining-cms-patterns's Introduction

Mining-CMs-Patterns

Mining-CMs-Patterns is an application for mining patterns in conceptual models encoded in different conceptual modeling language.

The current version of the application is able to parse and mine any UML Class Diagram Model encoded in a {.json} format, which can be generated through the OntoUML plugin for Visual Paradigm (free community edition).

The main scope of Mining-CMs-Patterns is to support knowledge engineers in the empirical discovery of modeling patterns.

The application is written in Python, requires Python 3.6+, and has been tested on Mac OSX.

Installation

  • First, start by cloning this repository.
git clone https://github.com/unibz-core/Mining-CMs-Patterns
  • We recommend to use virtualenv for development.

  • Once the virtual environment is created, install the python dependencies on the virtual environment.

pip install -r requirements.txt
  • Access the application folder.
cd scripts
  • Start the application.
python3 main.py

Get Started with Mining-CMs-Patterns

  • Interact with the command line by providing the required inputs, e.g.:
Welcome to our pattern discovery application!
Press Enter to continue...
Please, select the weight of generalization relations,
('integer' from 0 to 9): 1
Please, select the weight of associations,
('integer' from 0 to 9): 3
Enter the reference number of nodes for generating graph partitions
(value ≥ 3 suggested): 5   
  • Remember to put the models to be mined in the models folder.
  • All the files we used in the experiment, currently collected in the models folder, where generated by pulling the OntoUML Repository files in the folder importing/ontouml-models-master/. All the files can be renamed and extracted in a single folder by running the fileimport.py script.
  • The output of the mining process will be created in the output folder.
  • If you want to restart the process remember to delete all the created files through the related command.
Want to clear folders? (Y/N): Yes!

Papers

Fumagalli, Mattia; Sales, Tiago Princes; Guizzardi, Giancarlo; Pattern Discovery in Conceptual Models Using Frequent Itemset Mining,  ER 2022, International conference on conceptual modeling

mining-cms-patterns's People

Contributors

matt-81 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

plglaser

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.