def __init__(self, sc):
self.sc = sc<EOL>self._skl2spark_classes = {<EOL>SKL_LogisticRegression:<EOL>ClassNames("<STR_LIT>",<EOL>LogisticRegressionModel),<EOL>SKL_LinearRegression:<EOL>ClassNames("<STR_LIT>",<EOL>LinearRegressionModel)<EOL>}<EOL>self._supported_skl_types = self._skl2spark_classes.keys()<EOL>self._spark2skl_classes =dict([(self._skl2spark_classes[skl].py, skl) for skl in self._skl2spark_classes.keys()])<EOL>self._supported_spark_types = [x.py for x in self._skl2spark_classes.values()]<EOL>
:param sc: SparkContext