Giter Club home page Giter Club logo

erroneous's Introduction

Erroneous Detection

1. Dependencies

The only dependency for build and run the code is g++ (the GNU C++ compiler)

Linux:

For Ubuntu, you need to run the following command:

sudo apt update && sudo apt install build-essentials

For Arch Linux, run:

sudo pacman -S base-devel

For Fedora, run:

dnf groupinstall 'Development Tools'

For other distributions, consult the official wiki of your distribution.

Mac:

Using homebrew:

brew install gcc

Windows:

For windows visit here: https://www3.cs.stonybrook.edu/~alee/g++/g++.html

2. Make

The following project is using a custom makefile and you can easily use the following command in terminal:

make

3. Clean

Make files will be created inside the build folder you can either remove the build folder manually or use the following command:

make clean

4. Usage

In the main directory a binary will be made if you make the code. It is called "Connecterra". You should call it from terminal with command below:

./Connecterra csvFileLocation/csvFile.csv

Address to csv file can be local or global.

After running the code result will be stored in a csv file in the root folder of the project with the name of Result.csv, and the result will be shown on the console as well.

5. Test

For test the application a pythn script has been developed and it can be found in the test folder. This script generates a controlled random data with custom number of nodes and samples. Then it will generate a csv file ("testData.csv") acording to the given data. That csv file can be used in order to test the main application.

The only dependency for the test generator script is python >=3.5.

The test generator script can be run with the following command:

cd Test
python generateTestCsv.py

The are two other files in the Test folder, "given.csv" and "testData.csv". "given.csv" is the data given with the assignment and the "testData.csv" is a test data generated with the script for 5 nodes and 100 samples per node.

erroneous's People

Contributors

mhmmdshirazi avatar

Watchers

James Cloos avatar  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.