Skip to main content
Module

x/simplestatistics/index.js>perceptron#predict

simple statistics for node & browser javascript
Go to Latest
method perceptron.prototype.predict
import { perceptron } from "https://deno.land/x/simplestatistics@v7.7.5/index.js";

Predict: Use an array of features with the weight array and bias to predict whether an example is labeled 0 or 1.

Parameters

features

an array of features as numbers