You are reading a single comment by @splch and its replies. Click here to read the full conversation.
  • I put together a quick decision tree and here's the output:

    tree

    Here is the proposed JS that achieved an accuracy of 99% on the dataset:

    function isWorn() {
        if (Bangle.isCharging())
            return false;
        if (E.getTemperature() > 24.625)
            return true;
        if (Bangle.getAccel().mag > 1.045)
            return true;
        return false;
    }
    

    1 Attachment

About

Avatar for splch @splch started