LinearKernel¶
- class otsvm.LinearKernel(*args)¶
Linear kernel.
Methods
Accessor to the object's name.
getName
()Accessor to the object's name.
Parameter value accessor.
Parameter description accessor.
hasName
()Test if the object is named.
partialGradient
(x1, x2)Gradient wrt one variable.
partialHessian
(x1, x2)Gradient wrt one variable.
setName
(name)Accessor to the object's name.
setParameter
(parameter)Parameter value accessor.
- __init__(*args)¶
- getClassName()¶
Accessor to the object’s name.
- Returns:
- class_namestr
The object class name (object.__class__.__name__).
- getName()¶
Accessor to the object’s name.
- Returns:
- namestr
The name of the object.
- getParameter()¶
Parameter value accessor.
- Returns:
- parameter
openturns.Point
Current parameter values
- parameter
- getParameterDescription()¶
Parameter description accessor.
- Returns:
- description
openturns.Description
Parameter names
- description
- hasName()¶
Test if the object is named.
- Returns:
- hasNamebool
True if the name is not empty.
- partialGradient(x1, x2)¶
Gradient wrt one variable.
- Returns:
- gradient
openturns.Point
Gradient value
- gradient
- partialHessian(x1, x2)¶
Gradient wrt one variable.
- Returns:
- hessian
openturns.SymmetricMatrix
Hessian value
- hessian
- setName(name)¶
Accessor to the object’s name.
- Parameters:
- namestr
The name of the object.
- setParameter(parameter)¶
Parameter value accessor.
- Parameters:
- parameter
openturns.Point
Current parameter values
- parameter