static void Main(string[] argv) { modshogun.init_shogun_with_defaults(); DoubleMatrix data = Load.load_numbers("../data/fm_train_real.dat"); RealFeatures features = new RealFeatures(data); ClassicIsomap classic = new ClassicIsomap(); classic.set_target_dim(1); classic.apply_to_feature_matrix(features); modshogun.exit_shogun(); }
public static void Main() { modshogun.init_shogun_with_defaults(); double[,] data = Load.load_numbers("../data/fm_train_real.dat"); RealFeatures features = new RealFeatures(data); ClassicIsomap preprocessor = new ClassicIsomap(); preprocessor.set_target_dim(1); preprocessor.apply_to_feature_matrix(features); modshogun.exit_shogun(); }