public class Reuters21578DAO extends DatasetsDAO
| Constructor and Description |
|---|
Reuters21578DAO() |
| Modifier and Type | Method and Description |
|---|---|
static int |
createTable() |
static int |
dropTable() |
static void |
init(String dataFilesDir) |
static int |
insert(Reuters21578 reuters21578) |
static List<Reuters21578> |
selectAll() |
static long |
selectCount() |
static List<Reuters21578> |
selectModApte(String lewisSplit,
boolean topics) |
static List<Reuters21578> |
selectRandomList(int size) |
static List<Reuters21578> |
selectRange(int startIdx,
int size) |
static Reuters21578 |
selectSingle(int newID) |
init, init, releasepublic static void init(String dataFilesDir)
public static int dropTable()
public static int createTable()
public static int insert(Reuters21578 reuters21578)
public static List<Reuters21578> selectAll()
public static List<Reuters21578> selectRange(int startIdx, int size)
public static List<Reuters21578> selectRandomList(int size)
public static List<Reuters21578> selectModApte(String lewisSplit, boolean topics)
lewisSplit - choices are TRAIN or TESTtopics - does the story have topics (labels) or no?public static long selectCount()
public static Reuters21578 selectSingle(int newID)
Copyright © 2013–2015 Knowm Inc.. All rights reserved.