Learn R Programming

rmcfs (version 1.2.5)

import.result: Reads csv result files produced by the MCFS-ID Java module

Description

Reads csv result files produced by the MCFS-ID Java module.

Usage

import.result(path = "./", label)

Arguments

path

path to the MCFS-ID results *.csv files.

label

experiment label for results files (name of the data).

Value

the result of the MCFS-ID experiment returned by mcfs function.

Examples

Run this code
  ### Set up java parameter and load rmcfs package
  options(java.parameters = "-Xmx4g")
  library(rmcfs)

  # create input data
  adata <- artificial.data(rnd_features = 10)
  showme(adata)
  
  # Parametrize and run MCFS-ID procedure
  result <- mcfs(class~., adata, cutoffPermutations = 0, featureFreq = 10,
                  finalCV = FALSE, finalRuleset = FALSE, threadsNumber = 2)

  # Export and import R result to/from files
  path <- tempdir()
  export.result(result, path = path, label = "artificial")
  result <- import.result(path = path, label = "artificial")

Run the code above in your browser using DataLab