public class IOUtility extends IOUtil
IOUtil.LineIterator| Constructor and Description |
|---|
IOUtility() |
| Modifier and Type | Method and Description |
|---|---|
static double[] |
evaluate(Instance[] instances,
LinearModel model) |
static void |
evaluate(Instance instance,
LinearModel model,
int[] stat) |
static int |
loadInstance(String path,
InstanceHandler handler) |
static String[] |
readLineToArray(String line) |
baseName, deleteFile, dirname, fileList, getBytes, getResourceAsStream, getSuffix, isFileExisted, isResource, loadDictionary, loadDictionary, newBufferedReader, newBufferedWriter, newBufferedWriter, newInputStream, newOutputStream, readBytes, readBytesFromOtherInputStream, readBytesFromOtherInputStream, readBytesFromResource, readCsv, readLine, readLineList, readLineListWithLessMemory, readObjectFrom, readTxt, readTxt, removeUTF8BOM, saveCollectionToTxt, saveEntrySetToTxt, saveMapToTxt, saveMapToTxt, saveObjectTo, saveTxt, saveTxt, writeCustomNature, writeLinepublic static int loadInstance(String path, InstanceHandler handler) throws IOException
IOExceptionpublic static double[] evaluate(Instance[] instances, LinearModel model)
public static void evaluate(Instance instance, LinearModel model, int[] stat)
Copyright © 2014–2021 码农场. All rights reserved.