public interface OutputInfo<T extends Output<T>> extends Serializable
Output
subclass.
Can generate a ImmutableOutputInfo
which contains id numbers, and
a MutableOutputInfo
for repeated training with more data.
Modifier and Type | Method and Description |
---|---|
OutputInfo<T> |
copy()
Generates a copy of this OutputInfo, including it's mutability.
|
ImmutableOutputInfo<T> |
generateImmutableOutputInfo()
Generates an
ImmutableOutputInfo which has a copy of the data
in this OutputInfo , but also has id values and is immutable. |
MutableOutputInfo<T> |
generateMutableOutputInfo()
Generates a mutable copy of this
OutputInfo . |
Set<T> |
getDomain()
|
int |
getUnknownCount()
Returns the number of unknown
Output instances (generated by OutputFactory.getUnknownOutput() )
that this OutputInfo has seen. |
Iterable<com.oracle.labs.mlrg.olcut.util.Pair<String,Long>> |
outputCountsIterable()
An Iterable over the possible outputs and the number of times they were observed.
|
int |
size()
Returns the number of possible values this OutputInfo knows about.
|
String |
toReadableString()
Generates a String form of this OutputInfo.
|
Set<T> getDomain()
Output
which represent the space of possible
values the Output
has taken.
For real values this set represents the number of dimensions observed.
T
.int size()
For real values this is the number of dimensions observed.
int getUnknownCount()
Output
instances (generated by OutputFactory.getUnknownOutput()
)
that this OutputInfo has seen.ImmutableOutputInfo<T> generateImmutableOutputInfo()
ImmutableOutputInfo
which has a copy of the data
in this OutputInfo
, but also has id values and is immutable.MutableOutputInfo<T> generateMutableOutputInfo()
OutputInfo
.OutputInfo<T> copy()
String toReadableString()
This String can contain newlines, tabs and other formatting.
Iterable<com.oracle.labs.mlrg.olcut.util.Pair<String,Long>> outputCountsIterable()
Provides similar functionality to an iterator over the entrySet of a Map, though this is a copy of the data and immutable.
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.