Uploaded image for project: 'Machine Learning Library'
  1. Machine Learning Library
  2. ML-349 Add IRegression2 and Model2 definitions to ML_Core
  3. ML-343

Eliminate ML_Core.Interfaces.IRegression module parameters

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: ML_Core
    • Labels:
      None

      Description

      I am not sure why I din't see this at the time of the initial submission.

      The case of a model build and save (for say OLS) would be:
      mdl_ds := Regression.OLS(independents, dependents).getModel;
      OUTPUT(mdl_ds, ...

      The case for using a saved model would be:
      mdl_ds := DATASET(...);
      predictions := Regression.OLS().Predict(new_x, mdl_ds);

      It would look better if IRegression module was parameterless. It doesn't need or use parameters.

      Then the cases would be:
      mdl_ds := Regression.OLS.getModel(independents, dependents);
      and
      predictions := Regression.OLS.Predict(new_x, mdl_ds);

        Attachments

          Activity

            People

            • Assignee:
              rdev Roger Dev
              Reporter:
              johnholt John Holt
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: