SigmoidKernel

class otsvm.SigmoidKernel(*args)

Sigmoid kernel.

Methods

getClassName()

Accessor to the object's name.

getConstant()

Constant term accessor.

getLinear()

Linear term accessor.

getName()

Accessor to the object's name.

getParameter()

Parameter value accessor.

getParameterDescription()

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.

setLinear(linear)

Linear 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

getLinear()

Linear 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:
parameteropenturns.Point

Current parameter values

getParameterDescription()

Parameter description accessor.

Returns:
descriptionopenturns.Description

Parameter names

hasName()

Test if the object is named.

Returns:
hasNamebool

True if the name is not empty.

partialGradient(x1, x2)

Gradient wrt one variable.

Returns:
gradientopenturns.Point

Gradient value

partialHessian(x1, x2)

Gradient wrt one variable.

Returns:
hessianopenturns.SymmetricMatrix

Hessian value

setConstant(constant)

Constant term accessor.

Parameters:
linearfloat

Linear term

setLinear(linear)

Linear 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:
parameteropenturns.Point

Current parameter values