public class Transformations extends Object
| Constructor and Description |
|---|
Transformations() |
| Modifier and Type | Method and Description |
|---|---|
static void |
dumpConfig(String pathToFile,
AlgorithmConfiguration config) |
static void |
dumpObjectToFile(String file,
Object toWrite) |
static double[][] |
exampleSet2Matrix(com.rapidminer.example.ExampleSet set) |
static double[] |
getColumn(int index,
double[][] matrix) |
static Object |
getObjectFromFile(String file) |
static double |
indexString(String string) |
static void |
main(String[] args) |
static com.rapidminer.example.ExampleSet |
matrix2ExampleSet(double[][] sampleVectors) |
static double[][] |
mergeMatrixes(double[][] matrix1,
double[][] matrix2) |
static List<String> |
parseCVSString(String row,
String delimiter) |
static AlgorithmConfiguration |
restoreConfig(String configFile) |
static void |
substColumn(double[] column,
int index,
double[][] matrix) |
static double[][] |
traspose(double[][] matrix) |
static String |
vector2String(double[] vector) |
public static com.rapidminer.example.ExampleSet matrix2ExampleSet(double[][] sampleVectors)
public static double[][] exampleSet2Matrix(com.rapidminer.example.ExampleSet set)
public static double[][] traspose(double[][] matrix)
public static double[] getColumn(int index,
double[][] matrix)
public static void substColumn(double[] column,
int index,
double[][] matrix)
public static double[][] mergeMatrixes(double[][] matrix1,
double[][] matrix2)
public static String vector2String(double[] vector)
public static Object getObjectFromFile(String file) throws Exception
Exceptionpublic static void dumpObjectToFile(String file, Object toWrite) throws Exception
Exceptionpublic static void dumpConfig(String pathToFile, AlgorithmConfiguration config) throws Exception
Exceptionpublic static AlgorithmConfiguration restoreConfig(String configFile) throws Exception
Exceptionpublic static double indexString(String string)
Copyright © 2021. All Rights Reserved.