本文整理汇总了Python中sandbox.util.Util.Util.abstract方法的典型用法代码示例。如果您正苦于以下问题:Python Util.abstract方法的具体用法?Python Util.abstract怎么用?Python Util.abstract使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类sandbox.util.Util.Util
的用法示例。
在下文中一共展示了Util.abstract方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: predict
# 需要导入模块: from sandbox.util.Util import Util [as 别名]
# 或者: from sandbox.util.Util.Util import abstract [as 别名]
def predict(self, X):
"""
Make a prediction for a set of examples given as the rows of the matrix X.
:param X: A matrix with examples as rows
:type X: :class:`ndarray`
"""
Util.abstract()
示例2: learnModel
# 需要导入模块: from sandbox.util.Util import Util [as 别名]
# 或者: from sandbox.util.Util.Util import abstract [as 别名]
def learnModel(self, X, y):
"""
Learn a model for a set of examples given as the rows of the matrix X,
with corresponding labels given in the elements of 1D array y.
:param X: A matrix with examples as rows
:type X: :class:`ndarray`
:param y: A vector of labels
:type y: :class:`ndarray`
"""
Util.abstract()
示例3: __init__
# 需要导入模块: from sandbox.util.Util import Util [as 别名]
# 或者: from sandbox.util.Util.Util import abstract [as 别名]
def __init__(self):
'''
Constructor
'''
Util.abstract()
示例4: process
# 需要导入模块: from sandbox.util.Util import Util [as 别名]
# 或者: from sandbox.util.Util.Util import abstract [as 别名]
def process(self, X):
Util.abstract()
示例5: learn
# 需要导入模块: from sandbox.util.Util import Util [as 别名]
# 或者: from sandbox.util.Util.Util import abstract [as 别名]
def learn(self, X):
Util.abstract()
示例6: complexity
# 需要导入模块: from sandbox.util.Util import Util [as 别名]
# 或者: from sandbox.util.Util.Util import abstract [as 别名]
def complexity(self):
"""
Return a complexity measure of the current model.
"""
Util.abstract()
示例7: learnModel
# 需要导入模块: from sandbox.util.Util import Util [as 别名]
# 或者: from sandbox.util.Util.Util import abstract [as 别名]
def learnModel(self, X, y):
Util.abstract()
示例8: predict
# 需要导入模块: from sandbox.util.Util import Util [as 别名]
# 或者: from sandbox.util.Util.Util import abstract [as 别名]
def predict(self, X):
Util.abstract()