Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
List<BayesianEvent> |
BayesianEvent.getChildren() |
Map<String,BayesianEvent> |
BayesianNetwork.getEventMap() |
List<BayesianEvent> |
BayesianNetwork.getEvents() |
List<BayesianEvent> |
BayesianEvent.getParents() |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
int |
ParsedEvent.resolveValue(BayesianEvent actualEvent)
Resolve the event to an actual value.
|
Modifier and Type | Method and Description |
---|---|
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() |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
EnumerationQuery.roll(List<BayesianEvent> enumerationEvents,
int[] args)
Roll the enumeration events forward by one.
|
Modifier and Type | Method and Description |
---|---|
BayesianEvent |
EventState.getEvent() |
Constructor and Description |
---|
EventState(BayesianEvent theEvent)
Construct an event state for the specified event.
|
Constructor and Description |
---|
BayesianTable(BayesianEvent theEvent) |
Modifier and Type | Method and Description |
---|---|
double |
SimpleEstimator.calculateProbability(BayesianEvent event,
int result,
int[] args)
Calculate the probability.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Copyright © 2014. All Rights Reserved.