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

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 7.0.0
    • ML_Core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: