RationalKernel¶
- class otsvm.RationalKernel(*args)¶
Polynomial kernel.
Methods
Accessor to the object's name.
Constant term accessor.
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.
setConstant
(constant)Constant term accessor.
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__).
- getConstant()¶
Constant term accessor.
- Parameters:
- linearfloat
Linear term
- 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
- setConstant(constant)¶
Constant term accessor.
- Parameters:
- linearfloat
Linear term
- 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