Giter VIP home page Giter VIP logo

webembed-replication-package's Introduction

Neural Embeddings for Web Testing

Artifacts accompanying the paper "Neural Embeddings for Web Testing" submitted for publication at the IEEE Transactions on Software Engineering (TSE).

Overview

Our tool WebEmbed leverages the neural embedding by Doc2Vec and turn them into a similarity score to automatically predict near-duplicate web pages. The figure below shows the approach.

Dependencies

Software setup: We adopted the PyCharm Professional 2020.3, a Python IDE by JetBrains.

First, you need anaconda or miniconda installed on your machine. Then, you can create and install all dependencies on a dedicated virtual environment, by running one of the following commands, depending on your platform.

# macOS
conda env create -f webembed/environments.yml 

# Windows
conda env create -f webembed\windows.yml

Alternatively, you can manually install the required libraries (see the contents of the *.yml files) using pip.

Note: Training the Doc2Vec models on our datasets is computationally expensive as it can be done only on a CPU.

Replicate experiments

Datasets

Datasets, classifier models and results have a combined size of several GBs and cannot be versioned on GitHub. We will make all artifacts available upon paper's acceptance.

Evaluation Scripts

For replicating our results, evaluation scripts are present in the folder webemdeb/script.

A sample of results (RQ1/RQ2) is in the folder webemdeb/csv_results_table. For RQ3, data are available in the folder webemdeb/rq3 (PPMA and Dimeshift only)

webembed-replication-package's People

Contributors

tsigalko18 avatar anon-conf-sub avatar

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.