tensorcircuit.templates.ensemble#
Useful utilities for ensemble
- class tensorcircuit.templates.ensemble.bagging[源代码]#
基类:
object
- eval(input_data: List[Any], evaluation_method: str = 'acc') float [源代码]#
Expect input data to be a 2D array which a 1D array of yTrue followed by a 1D array of yPred is expected to be the components of the 2D array