class HyperParameter extends Cloneable
The HyperParameter
class provides a simple and flexible means for handling
model hyper-parameters. A model may have one or more hyper-parameters that
are organized into a map 'name -> (value, defaultV)'.
- Alphabetic
- By Inheritance
- HyperParameter
- Cloneable
- Cloneable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new HyperParameter()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
++(hp2: HyperParameter): HyperParameter
Concatenate 'this' hyper-parameter map with a second hyper-parameter map.
Concatenate 'this' hyper-parameter map with a second hyper-parameter map.
- hp2
the second hyper-parameter map
-
def
+=(name: String, value: Double, defaultV: Double): Unit
Add a new hyper-parameter to the map.
Add a new hyper-parameter to the map.
- name
the name of the hyper-parameter
- value
the value of the hyper-parameter
- defaultV
the defualt value of the hyper-parameter
-
def
-=(name: String): Unit
Remove the hyper-parameter with the given name from the map.
Remove the hyper-parameter with the given name from the map.
- name
the name of the hyper-parameter
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(name: String): Double
Given the 'name', return the hyper-parameter value.
Given the 'name', return the hyper-parameter value.
- name
the name of the hyper-parameter
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
default(name: String): Double
Given the 'name', return the hyper-parameter default value.
Given the 'name', return the hyper-parameter default value.
- name
the name of the hyper-parameter
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
Convert the hyper-parameter map to a string.
Convert the hyper-parameter map to a string.
- Definition Classes
- HyperParameter → AnyRef → Any
-
def
update(name: String, value: Double): Unit
Given the 'name', update the hyper-parameter value.
Given the 'name', update the hyper-parameter value.
- name
the name of the hyper-parameter
- value
the value of the hyper-parameter
-
def
updateDefault(name: String, defaultV: Double): Unit
Given the 'name', update the hyper-parameter default value.
Given the 'name', update the hyper-parameter default value.
- name
the name of the hyper-parameter
- defaultV
the defualt value of the hyper-parameter
-
def
updateReturn(nvs: (String, Double)*): HyperParameter
Create and return a new set of hyper-parameters, updating the one with the given 'name'.
Create and return a new set of hyper-parameters, updating the one with the given 'name'.
- nvs
the name-value pair for the hyper-parameter
-
def
updateReturn(name: String, value: Double): HyperParameter
Create and return a new set of hyper-parameters, updating the one with the given 'name'.
Create and return a new set of hyper-parameters, updating the one with the given 'name'.
- name
the name of the hyper-parameter
- value
the value of the hyper-parameter
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated