Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modAL-python/modAL
/ __init__
Method
__init__
tests/example_tests/multidimensional_data.py:10–11 ·
view source on GitHub ↗
(self, n_classes=2)
Source
from the content-addressed store, hash-verified
8
9
class
MockClassifier(BaseEstimator):
10
def
__init__(self, n_classes=2):
11
self.n_classes = n_classes
12
13
def
fit(self, X, y):
14
return
self
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected