Pyconstruct
0.2.1
Install
Quick Start
Structured prediction
Reference Manual
Datasets
Domains
Learners
Metrics
Models
pyconstruct.models.BaseModel
pyconstruct.models.BaseModel.clear
pyconstruct.models.BaseModel.copy
pyconstruct.models.BaseModel.decision_function
pyconstruct.models.BaseModel.fromkeys
pyconstruct.models.BaseModel.get
pyconstruct.models.BaseModel.items
pyconstruct.models.BaseModel.keys
pyconstruct.models.BaseModel.loss
pyconstruct.models.BaseModel.margin
pyconstruct.models.BaseModel.phi
pyconstruct.models.BaseModel.pop
pyconstruct.models.BaseModel.popitem
pyconstruct.models.BaseModel.predict
pyconstruct.models.BaseModel.setdefault
pyconstruct.models.BaseModel.update
pyconstruct.models.BaseModel.values
pyconstruct.models.LinearModel
Utilities
Pyconstruct
Docs
»
Reference Manual
»
Models
»
pyconstruct.models.BaseModel
»
pyconstruct.models.BaseModel.margin
View page source
pyconstruct.models.BaseModel.margin
¶
BaseModel.
margin
(
X
,
Y
,
Y_pred
,
**kwargs
)
¶
Computes the margin of the current model for the given data.