Package | Description |
---|---|
org.linqs.psl.reasoner.admm.term |
Modifier and Type | Class and Description |
---|---|
class |
HingeLossTerm
ADMMReasoner objective term of the form
weight * max(coefficients^T * x - constant, 0) All coefficients must be non-zero. |
class |
HyperplaneTerm
Objective term for an ADMMReasoner that is based on a hyperplane in some way.
|
class |
LinearConstraintTerm
ADMMReasoner objective term of the form:
(0 if coefficients^T * x OP constant)
or (infinity otherwise).
|
class |
LinearLossTerm
ADMMReasoner objective term of the form
weight * coefficients^T * x |
class |
SquaredHingeLossTerm
ADMMReasoner objective term of the form
weight * [max(coefficients^T * x - constant, 0)]^2 |
class |
SquaredHyperplaneTerm
Objective term for an ADMMReasoner that is based on a squared
hyperplane in some way.
|
class |
SquaredLinearLossTerm
ADMMReasoner objective term of the form
weight * (coeffs^T * x - constant)^2 |
Modifier and Type | Method and Description |
---|---|
ADMMObjectiveTerm |
ADMMTermGenerator.createLinearConstraintTerm(TermStore<ADMMObjectiveTerm,LocalVariable> termStore,
GroundRule groundRule,
Hyperplane<LocalVariable> hyperplane,
FunctionComparator comparator) |
ADMMObjectiveTerm |
ADMMTermGenerator.createLossTerm(TermStore<ADMMObjectiveTerm,LocalVariable> termStore,
boolean isHinge,
boolean isSquared,
GroundRule groundRule,
Hyperplane<LocalVariable> hyperplane) |
ADMMObjectiveTerm |
ADMMTermStore.get(int index) |
Modifier and Type | Method and Description |
---|---|
Iterable<ADMMObjectiveTerm> |
ADMMTermStore.getTerms(GroundRule groundRule) |
Iterator<ADMMObjectiveTerm> |
ADMMTermStore.iterator() |
Iterator<ADMMObjectiveTerm> |
ADMMTermStore.noWriteIterator() |
Modifier and Type | Method and Description |
---|---|
void |
ADMMTermStore.add(GroundRule rule,
ADMMObjectiveTerm term) |
Modifier and Type | Method and Description |
---|---|
ADMMObjectiveTerm |
ADMMTermGenerator.createLinearConstraintTerm(TermStore<ADMMObjectiveTerm,LocalVariable> termStore,
GroundRule groundRule,
Hyperplane<LocalVariable> hyperplane,
FunctionComparator comparator) |
ADMMObjectiveTerm |
ADMMTermGenerator.createLossTerm(TermStore<ADMMObjectiveTerm,LocalVariable> termStore,
boolean isHinge,
boolean isSquared,
GroundRule groundRule,
Hyperplane<LocalVariable> hyperplane) |
Constructor and Description |
---|
ADMMTermStore(TermStore<ADMMObjectiveTerm,?> store) |
Copyright © 2020 University of California, Santa Cruz. All rights reserved.