Modifier and Type | Field and Description |
---|---|
static float |
C_DEFAULT |
static String |
C_KEY |
static String |
CONFIG_PREFIX
Prefix of property keys used by this class.
|
static int |
MAX_ITER_DEFAULT |
static String |
MAX_ITER_KEY
The maximum number of iterations of SGD to perform in a round of inference.
|
static float |
OBJ_TOL_DEFAULT |
static String |
OBJ_TOL_KEY
The maximum number of iterations of SGD to perform in a round of inference.
|
static boolean |
OBJECTIVE_BREAK_DEFAULT |
static String |
OBJECTIVE_BREAK_KEY
Stop if the objective has not changed since the last logging period (see LOG_PERIOD).
|
static boolean |
PRINT_INITIAL_OBJECTIVE_DEFAULT |
static String |
PRINT_INITIAL_OBJECTIVE_KEY
Print the objective before any optimization.
|
static boolean |
PRINT_OBJECTIVE_DEFAULT |
static String |
PRINT_OBJECTIVE_KEY |
static boolean |
TRUNCATE_EVERY_STEP_DEFAULT |
static String |
TRUNCATE_EVERY_STEP_KEY |
Constructor and Description |
---|
DCDReasoner() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Releases all resources acquired by this Reasoner.
|
int |
getMaxIter() |
void |
optimize(TermStore baseTermStore)
Minimizes the total weighted incompatibility of the terms in the provided
TermStore.
|
void |
setMaxIter(int maxIter) |
public static final String CONFIG_PREFIX
public static final String MAX_ITER_KEY
public static final int MAX_ITER_DEFAULT
public static final String OBJECTIVE_BREAK_KEY
public static final boolean OBJECTIVE_BREAK_DEFAULT
public static final String OBJ_TOL_KEY
public static final float OBJ_TOL_DEFAULT
public static final String C_KEY
public static final float C_DEFAULT
public static final String TRUNCATE_EVERY_STEP_KEY
public static final boolean TRUNCATE_EVERY_STEP_DEFAULT
public static final String PRINT_OBJECTIVE_KEY
public static final boolean PRINT_OBJECTIVE_DEFAULT
public static final String PRINT_INITIAL_OBJECTIVE_KEY
public static final boolean PRINT_INITIAL_OBJECTIVE_DEFAULT
Copyright © 2020 University of California, Santa Cruz. All rights reserved.