Giter Club home page Giter Club logo

geodesic-mi's Introduction

Installation instructions

To run the experiments, you need to install the rerf package, which computes the geodesic forests, and locally change one of the files (as described below) to run our extended version of GF.

  1. In R run ''install.packages("remotes")''
  2. Load rerf_2.0.4 package here: https://cran.r-project.org/src/contrib/Archive/rerf/
  3. Go to the downloaded package and replace the file "rerf/R/UrerfHelperFunctions.R" with the corresponding file in the "code" folder.
  4. Go to R and run library("remotes") install_local("path to rerf folder")

Run G-KSG

The stand alone G-KSG method is implemented in "code/G_KSG.R" and can be called with its default parameters given X,Y (both matrices) and k (typically equal to 3). For an example on how to apply the method, see "code/run_example.R". To execute the code, it is assumed that you are in the "code" direktory.

Run Experiments

The files for running experiments are in the folder code/experiments.

To execute the code, you must, however, be in the directory "code" (not in "code/experiments").

The experiments for increasing number of samples, which document the runtime are in file "evaluate_runtime_and_accuracy_per_sample.R" and all other experiments can be executed from "run_test.R" by setting the described parameters accordingly.

geodesic-mi's People

Contributors

a-marx avatar

Watchers

 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.