(arbiter-core) Fixed some typos (#9084)
* Fix some typo Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com> * Revert one of the last fix typo Signed-off-by: Dariusz Zbyrad <dariusz.zbyrad@gmail.com>master
parent
73b08c7254
commit
913cfcaa4f
|
@ -31,17 +31,17 @@ public abstract class AbstractParameterSpace<T> implements ParameterSpace<T> {
|
|||
public Map<String, ParameterSpace> getNestedSpaces() {
|
||||
Map<String, ParameterSpace> m = new LinkedHashMap<>();
|
||||
|
||||
//Need to manually build and walk the class heirarchy...
|
||||
//Need to manually build and walk the class hierarchy...
|
||||
Class<?> currClass = this.getClass();
|
||||
List<Class<?>> classHeirarchy = new ArrayList<>();
|
||||
List<Class<?>> classHierarchy = new ArrayList<>();
|
||||
while (currClass != Object.class) {
|
||||
classHeirarchy.add(currClass);
|
||||
classHierarchy.add(currClass);
|
||||
currClass = currClass.getSuperclass();
|
||||
}
|
||||
|
||||
for (int i = classHeirarchy.size() - 1; i >= 0; i--) {
|
||||
for (int i = classHierarchy.size() - 1; i >= 0; i--) {
|
||||
//Use reflection here to avoid a mass of boilerplate code...
|
||||
Field[] allFields = classHeirarchy.get(i).getDeclaredFields();
|
||||
Field[] allFields = classHierarchy.get(i).getDeclaredFields();
|
||||
|
||||
for (Field f : allFields) {
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ import org.nd4j.shade.jackson.annotation.JsonTypeInfo;
|
|||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* An optimization result represents the results of an optimization run, including the canditate configuration, the
|
||||
* An optimization result represents the results of an optimization run, including the candidate configuration, the
|
||||
* trained model, the score for that model, and index of the model
|
||||
*
|
||||
* @author Alex Black
|
||||
|
|
|
@ -115,7 +115,7 @@ public class OptimizationConfiguration {
|
|||
|
||||
/**
|
||||
* DataSource: defines where the data should come from for training and testing.
|
||||
* Note that implementations must have a no-argument contsructor
|
||||
* Note that implementations must have a no-argument constructor
|
||||
* @param dataSource Class for the data source
|
||||
* @param dataSourceProperties May be null. Properties for configuring the data source
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue