| executeAlgorithm {mldr.resampling} | R Documentation | 
Auxiliary function used by resample. It executes an algorithm, given as a string, and stores the resulting MLD in a arff file
Description
Auxiliary function used by resample. It executes an algorithm, given as a string, and stores the resulting MLD in a arff file
Usage
executeAlgorithm(
  D,
  a,
  P,
  k,
  TH,
  strategy,
  outputDirectory,
  neighbors,
  neighbors2,
  tableVDM
)
Arguments
| D | mld  | 
| a | String with the name of the algorithm to be applied. | 
| P | Percentage in which the original dataset is increased/decreased (if required by the algorithm) | 
| k | Number of neighbors taken into account for each instance (if required by the algorithm) | 
| TH | Threshold for the Hamming Distance in order to consider an instance different to another one (if required by the algorithm) | 
| strategy | Strategy for choosing the synthetic labels (if required by the algorithm). Possible values: "union", "intersection" and "ranking" (default) | 
| outputDirectory | Route with the directory where the generated ARFF file will be stored | 
| neighbors | Structure with all instances and neighbors in the dataset, useful in MLSOL and MLUL | 
| neighbors2 | Structure with some instances and neighbors in the dataset, useful in MLeNN and MLTL | 
| tableVDM | Dataframe object containing previous calculations for faster processing. If it is empty, the algorithm will be slower | 
Value
Time (in seconds) taken to execute the algorithm (NULL if no algorithm was executed)