Class ParameterSet
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<TrainingParameter>
,Collection<TrainingParameter>
,List<TrainingParameter>
,RandomAccess
A set of parameters that can be given to a trainer to
specifiy the training task.
- Author:
- Matthias Thimm
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks whether this set contains a parameter with the same name as the given parameter.getParameter
(TrainingParameter param) Returns the parameter of this set with the same name as the given parameter (or throws an IllegalArgumentException)Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll
-
Constructor Details
-
ParameterSet
public ParameterSet()
-
-
Method Details
-
containsParameter
Checks whether this set contains a parameter with the same name as the given parameter.- Parameters:
param
- some parameter- Returns:
- Checks whether this set contains a parameter with the same name as the given parameter.
-
getParameter
Returns the parameter of this set with the same name as the given parameter (or throws an IllegalArgumentException)- Parameters:
param
- some parameter- Returns:
- Returns the parameter of this set with the same name as the given parameter (or throws an IllegalArgumentException)
-