Closed hhbyyh closed 7 years ago
Mark High priority since it's API change and probably should be fixed before release. Feel free to downgrade it if necessary. I can send a quick fix. Appreciate your suggestions. cc @jason-dai @yiheng
sure, I will make a quick fix to DLClassifier. I thought we didn't want to touch the existing DLClassifier. Another thing we may need to consider is we may want to put modelTrain and batchShape into the constructor as well to keep consistent with DLEstimator @hhbyyh
Several issues were found during the review of https://github.com/intel-analytics/BigDL/pull/745, since most of them would impact
DLClassifier
, we didn't make the change in https://github.com/intel-analytics/BigDL/pull/745.1.
DLClassifier
usesHasInputCol
andHasOutputCol
whileDLEstimator
usesHasFeatureCol
andHasPredictionCol
, suggest to unify toHasFeatureCol
andHasPredictionCol
.TransformSchema
to allow datatype check before pipeline execution and better error message.DLClassifier
andDLEstimator
implementDLDataParams
separately which does not make sense.process
method private as I assume it may be revoked sometime in the future if we don't need to support 1.5+.DLClassifier
toDLTransformer
? As Classification is only one type of the applications.We can also add the
Evaluator
interface.