Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-2860

The mlr object from the FlinkML Getting Started code example uses an undefined argument

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9.1
    • None

    Description

      The getting started guide code example uses the following code:

      val trainingData: DataSet[LabeledVector] = ...
      val testingData: DataSet[Vector] = ...
      
      val mlr = MultipleLinearRegression()
        .setStepsize(1.0)
        .setIterations(100)
        .setConvergenceThreshold(0.001)
      
      mlr.fit(trainingData, parameters)
      

      The call to mlr.fit() uses a parameters argument that is unnecessary, we should remove that.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            chiwanpark Chiwan Park
            tvas Theodore Vasiloudis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment