|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of BayesianEvent in org.encog.ml.bayesian |
---|
Methods in org.encog.ml.bayesian that return BayesianEvent | |
---|---|
BayesianEvent |
BayesianNetwork.createEvent(String label,
List<BayesianChoice> options)
Create an event specified on the label and options provided. |
BayesianEvent |
BayesianNetwork.createEvent(String label,
String... options)
Create the specified events based on a variable number of options, or choices. |
BayesianEvent |
BayesianNetwork.getClassificationTargetEvent()
|
BayesianEvent |
BayesianNetwork.getEvent(String label)
Get an event based on the string label. |
BayesianEvent |
BayesianNetwork.getEventError(String label)
Get an event based on label, throw an error if not found. |
BayesianEvent |
BayesianNetwork.requireEvent(String label)
Require the specified event, thrown an error if it does not exist. |
Methods in org.encog.ml.bayesian that return types with arguments of type BayesianEvent | |
---|---|
List<BayesianEvent> |
BayesianEvent.getChildren()
|
Map<String,BayesianEvent> |
BayesianNetwork.getEventMap()
|
List<BayesianEvent> |
BayesianNetwork.getEvents()
|
List<BayesianEvent> |
BayesianEvent.getParents()
|
Methods in org.encog.ml.bayesian with parameters of type BayesianEvent | |
---|---|
void |
BayesianEvent.addChild(BayesianEvent e)
Add a child event. |
void |
BayesianEvent.addParent(BayesianEvent e)
Add a parent event. |
void |
BayesianNetwork.createDependency(BayesianEvent parentEvent,
BayesianEvent... children)
Create a dependency between a parent and multiple children. |
void |
BayesianNetwork.createDependency(BayesianEvent parentEvent,
BayesianEvent... children)
Create a dependency between a parent and multiple children. |
void |
BayesianNetwork.createDependency(BayesianEvent parentEvent,
BayesianEvent childEvent)
Create a dependency between two events. |
void |
BayesianNetwork.createEvent(BayesianEvent event)
Create, or register, the specified event with this bayesian network. |
static String |
BayesianEvent.formatEventName(BayesianEvent event,
int value)
Format the event name with +, - and =. |
int |
BayesianNetwork.getEventIndex(BayesianEvent event)
|
boolean |
BayesianNetwork.isCondIndependent(BayesianEvent a,
BayesianEvent b,
BayesianEvent... given)
|
boolean |
BayesianNetwork.isCondIndependent(BayesianEvent a,
BayesianEvent b,
BayesianEvent... given)
|
boolean |
BayesianNetwork.isDescendant(BayesianEvent a,
BayesianEvent b)
Determine if one event is a descendant of another. |
Uses of BayesianEvent in org.encog.ml.bayesian.bif |
---|
Methods in org.encog.ml.bayesian.bif with parameters of type BayesianEvent | |
---|---|
static String |
BIFUtil.generateTable(BayesianEvent event)
Generate a table, in BIF format. |
static boolean |
BIFUtil.rollArgs(BayesianEvent event,
int[] args)
Iterate through the event arguments in the BIF way, which is different than Encog's method. |
Uses of BayesianEvent in org.encog.ml.bayesian.parse |
---|
Methods in org.encog.ml.bayesian.parse with parameters of type BayesianEvent | |
---|---|
int |
ParsedEvent.resolveValue(BayesianEvent actualEvent)
Resolve the event to an actual value. |
Uses of BayesianEvent in org.encog.ml.bayesian.query |
---|
Methods in org.encog.ml.bayesian.query that return types with arguments of type BayesianEvent | |
---|---|
Map<BayesianEvent,EventState> |
BayesianQuery.getEvents()
|
Map<BayesianEvent,EventState> |
BasicQuery.getEvents()
|
List<BayesianEvent> |
BayesianQuery.getEvidenceEvents()
|
List<BayesianEvent> |
BasicQuery.getEvidenceEvents()
|
List<BayesianEvent> |
BayesianQuery.getOutcomeEvents()
|
List<BayesianEvent> |
BasicQuery.getOutcomeEvents()
|
Methods in org.encog.ml.bayesian.query with parameters of type BayesianEvent | |
---|---|
void |
BayesianQuery.defineEventType(BayesianEvent event,
EventType et)
Define an event type to be either hidden(default), evidence(input) or outcome (output). |
void |
BasicQuery.defineEventType(BayesianEvent event,
EventType et)
Define an event type to be either hidden(default), evidence(input) or outcome (output). |
EventState |
BayesianQuery.getEventState(BayesianEvent event)
Get the event state for a given event. |
EventState |
BasicQuery.getEventState(BayesianEvent event)
Get the event state for a given event. |
EventType |
BayesianQuery.getEventType(BayesianEvent event)
Get the event type. |
EventType |
BasicQuery.getEventType(BayesianEvent event)
Get the event type. |
void |
BayesianQuery.setEventValue(BayesianEvent event,
boolean b)
Set the event value to a boolean. |
void |
BasicQuery.setEventValue(BayesianEvent event,
boolean b)
Set the event value to a boolean. |
void |
BayesianQuery.setEventValue(BayesianEvent event,
int d)
Set the event value as a class item. |
void |
BasicQuery.setEventValue(BayesianEvent event,
int d)
Set the event value as a class item. |
Uses of BayesianEvent in org.encog.ml.bayesian.query.enumerate |
---|
Method parameters in org.encog.ml.bayesian.query.enumerate with type arguments of type BayesianEvent | |
---|---|
static boolean |
EnumerationQuery.roll(List<BayesianEvent> enumerationEvents,
int[] args)
Roll the enumeration events forward by one. |
Uses of BayesianEvent in org.encog.ml.bayesian.query.sample |
---|
Methods in org.encog.ml.bayesian.query.sample that return BayesianEvent | |
---|---|
BayesianEvent |
EventState.getEvent()
|
Constructors in org.encog.ml.bayesian.query.sample with parameters of type BayesianEvent | |
---|---|
EventState(BayesianEvent theEvent)
Construct an event state for the specified event. |
Uses of BayesianEvent in org.encog.ml.bayesian.table |
---|
Constructors in org.encog.ml.bayesian.table with parameters of type BayesianEvent | |
---|---|
BayesianTable(BayesianEvent theEvent)
|
Uses of BayesianEvent in org.encog.ml.bayesian.training.estimator |
---|
Methods in org.encog.ml.bayesian.training.estimator with parameters of type BayesianEvent | |
---|---|
double |
SimpleEstimator.calculateProbability(BayesianEvent event,
int result,
int[] args)
Calculate the probability. |
Uses of BayesianEvent in org.encog.ml.bayesian.training.search.k2 |
---|
Methods in org.encog.ml.bayesian.training.search.k2 with parameters of type BayesianEvent | |
---|---|
double |
SearchK2.calculateG(BayesianNetwork network,
BayesianEvent event,
List<BayesianEvent> parents)
Calculate G. |
int |
SearchK2.calculateN(BayesianNetwork network,
BayesianEvent event,
List<BayesianEvent> parents,
int[] parentInstance)
Calculate the value N, which is the number of cases, from the training data, where the desiredValue matches the training data. |
int |
SearchK2.calculateN(BayesianNetwork network,
BayesianEvent event,
List<BayesianEvent> parents,
int[] parentInstance,
int desiredValue)
Calculate the value N, which is the number of cases, from the training data, where the desiredValue matches the training data. |
Method parameters in org.encog.ml.bayesian.training.search.k2 with type arguments of type BayesianEvent | |
---|---|
double |
SearchK2.calculateG(BayesianNetwork network,
BayesianEvent event,
List<BayesianEvent> parents)
Calculate G. |
int |
SearchK2.calculateN(BayesianNetwork network,
BayesianEvent event,
List<BayesianEvent> parents,
int[] parentInstance)
Calculate the value N, which is the number of cases, from the training data, where the desiredValue matches the training data. |
int |
SearchK2.calculateN(BayesianNetwork network,
BayesianEvent event,
List<BayesianEvent> parents,
int[] parentInstance,
int desiredValue)
Calculate the value N, which is the number of cases, from the training data, where the desiredValue matches the training data. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |