![]() |
Belle II Software light-2505-deimos
|
Public Member Functions | |
| __init__ (self, *my_fancy_parameters) | |
| fit (self, X, y) | |
| predict (self, X) | |
Let's assume we have written our own classifier (or installed something from github)
Definition at line 21 of file how_to_use_arbitrary_methods.py.
| __init__ | ( | self, | |
| * | my_fancy_parameters ) |
Just print the passed parameters
Definition at line 24 of file how_to_use_arbitrary_methods.py.
| fit | ( | self, | |
| X, | |||
| y ) |
Our method is so good, it doesn't even have to look at the data!
Definition at line 28 of file how_to_use_arbitrary_methods.py.
| predict | ( | self, | |
| X ) |
Always return 1, this will boost our signal efficiency to the max
Definition at line 32 of file how_to_use_arbitrary_methods.py.