raise ValueError(
            &#34;you preprocessed for %s but want to build a %s model&#34;
            % (preproc.name, name)
        )

    if not classification:  # regression
        if metrics is None or metrics == [&#34;accuracy&#34;]:
            metrics = [&#34;mae&#34;]
        num_classes = 1
        multilabel = False
        loss_func = &#34;mse&#34;
        activation = None
        max_features = preproc.max_features
        features = None
        maxlen = U.shape_from_data(train_data)[1]
  