Class PlotMatrixMimicDriver
java.lang.Object
edu.cmu.tetrad.sem.PlotMatrixMimicDriver
Simple command-line driver for PlotMatrixMimicSimulator.
Usage: java PlotMatrixMimicDriver input.txt output.txt nRows novelty seed
-
Method Summary
-
Method Details
-
main
Entry point for the PlotMatrixMimicDriver application. This method loads input data, configures a simulator for generating simulated data based on the provided novelty value, and writes the simulated data to the specified output file.- Parameters:
args- Command-line arguments passed to the program: args[0] - Path to the input data file (required). args[1] - Path to the output data file where the simulated data will be written (required). args[2] - Number of rows to simulate (integer, required). args[3] - Novelty strength for the simulation (double, required). args[4] - Random seed for simulation reproducibility (long, required).- Throws:
IllegalArgumentException- if the input file does not exist or if arguments are malformed.Exception- if an error occurs during data loading, simulation, or file writing.
-