rawInstance, final MeanNormalizedAndDatedLogisticRegressionDTO data) {
+
+ }
+ }
+
+ //model builders
+ public interface EnhancedPredictiveModelBuilder>
+ extends DataTransformer {
+
+ P buildPredictiveModel(D transformedData);
+ }
+
+
+
+ public static class LogisticRegressionBuilder> implements EnhancedPredictiveModelBuilder {
+ @Override
+ public LogisticRegression buildPredictiveModel(final D transformedData) {
+ return null;
+ }
+
+ @Override
+ public void transformData(final List rawInstance, final D data) {
+
+ }
+ }
+ public static void main(String[] args) {
+ LogisticRegressionBuilder logisticRegressionBuilder = new LogisticRegressionBuilder();
+ }
+
+ //ok, so what is the problem now. The methods are not able to use the generics.
+ //options: i can change the interface of EnhancedPredictiveModelBuilder. Or, I can make TransformedDataWithDates do something else in it's interface...i.e. i can make it implement copyable of a different generic type.
+
+ }