Skip to content

compile errors for MicromlMorseIdentificationExample #18

Open
@Riccardo451

Description

@Riccardo451

Trying to compile the morse example file I get several errors, I've been able to compile after the following changes:

  • in model.h I've commented out -> #include , and I've added instead -> #include <stdarg.h> .

In the .ino file:

  • changed -> double features[NUM_SAMPLES];
    to -> float features[NUM_SAMPLES];
  • I've commented out -> self_test();
  • added after variable declaration -> Eloquent::ML::Port::RandomForest clf;
    -In void loop changed the serial print statement to -> Serial.println(clf.idxToLabel(clf.predict(features)));

ml_cw_decoder.ino.txt
model.h.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions