Source code for rapa.Project
from . import base
import datarobot as dr
[docs]class Classification(base.RAPABase):
"""
RAPA class meant for classification problems.
"""
def __init__(self, project: dr.Project = None):
self.project = project
self._classification = True
self._regression = False
[docs]class Regression(base.RAPABase):
"""
RAPA class meant for regression problems.
"""
def __init__(self, project: dr.Project = None):
self.project = project
self._classification = False
self._regression = True