Skip to content

Instantly share code, notes, and snippets.

@AlexTitovWork
Created December 8, 2019 16:02
Show Gist options
  • Save AlexTitovWork/a8959621f1f6af4cd0cfac19f076f3b6 to your computer and use it in GitHub Desktop.
Save AlexTitovWork/a8959621f1f6af4cd0cfac19f076f3b6 to your computer and use it in GitHub Desktop.

Revisions

  1. AlexTitovWork created this gist Dec 8, 2019.
    10 changes: 10 additions & 0 deletions fitWeka.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    /**
    * Build prepared classifier on the training data
    */
    public void fit() {
    try {
    classifier.buildClassifier(trainData);
    } catch (Exception e) {
    LOGGER.warning(e.getMessage());
    }
    }