GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - PabloAceG/ComputingProject: Despite having no time whatsoever, I have to do an entire project to finish my degree. Here it is.

BranchesTags
Open more actions menu

Latest commit

 

History

36 Commits
36 Commits

Folders and files

NameName
Last commit message
Last commit date
.vscode
.vscode
 
 
ProjectProposal
ProjectProposal
 
 
code
code
 
 
dataset
dataset
 
 
notebook
notebook
 
 
paper
paper
 
 
setup
setup
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Introduction

This repository contains my dissertation. I presented this work as my final year project.

The paper is about how datasets are affected by the values of complexity metrics, and how some techniques that try to mitigate the effect of some of those metrics affect the evaluation results.

Pre-requisites

To be able to execute the experiments within the repository, Python3 is needed. Anaconda or the official Python located in the official repositories can be used as long as version 3 or posterior is used. Trying to replicate the experiments on some operative systems might terminate in error. If this is the case, python can be changed (Linux) with:

sudo update-alternatives --config python

R (programming language) is needed before trying to execute the project. Also, the following packages are mandatory in order to replicate the experiments:

  • ECoL - Dataset Complexity Metrics Package.
    • ECoL GitHub
    • ECoL Documentation
  • Rserve - server, responds requests made to R.

Once the previous requisites are fulfilled, the R server can be started by executing the following commands:

library(Rserve) # import the library
run.Rserve() # start the server. Or simply Rserve()

Now, it is time to download the project to install the remaining Python packages. The project can be downloaded from this repo.

Same as before, some Python packages are mandatory to execute the project. These packages are available in requirements.txt file. To automatically install those packages, run (execute all commands from parent repository):

pip install -r .\code\requirements.txt

It might happen that pip install -r might not install all packages. To solve this, the failing packages must be installed manually:

pip install <package_name>

Execution

Now, the experiments should be replicable. The experiment's code is under the code folder. To run them, execute:

python code/metrics_comparison.py
python code/metrics_kfold.py
python code/metrics_kfold_undersampling.py
python code/metrics_kfold_oversampling.py

Each of the previous commands execute one experiment.

As final remarks, the class r_connect.py (go here) is the client connection the server in R (Rserve). It makes the requests to the ECoLpackage to obtain the complexity metrics.

The class data.py (go here) standardizes the datasets input (parsing data) and some other metrics from the package sklearn.

About

Despite having no time whatsoever, I have to do an entire project to finish my degree. Here it is.

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.