
Security News
Feross on the 10 Minutes or Less Podcast: Nobody Reads the Code
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.
A framework to automate the process of evaluating and running prediction models
Predictor automates the process of predicting future values in a set and evaluating this prediction models. Predictor doesn't predict the values for you but rather sets up a few tools to help you test and run your prediction functions. The base functions are guess and evaluate. Predictor also comes with a set of standard numeric datasets including but not limited to the s-curve, parabola, and Fibonacci sets. These can be found under the static datasets namespace.
npm install predictor
var predictor = require("predictor");
var guesser = function(distance, dataset){
return dataset[dataset.length-1]+distance;
}
var sCurvePredictor = new predictor(predictor.datasets.s_curve, guesser, predictor.evaluators.standard);
var evaluation = sCurvePredictor.evaluate({distance:3});
console.log(evaluation);
Creates a new predictor object.
Guesses a value based on the supplied options.
Options
distance is provided.to minus from. If to is undefined, distance will default to 1.Evaluates a guesser function based on the supplied options. Returns an object of observations included the average evaluation, a list of guesses resulting in NaN and a record of each iteration through the dataset, guess, answer and evaluation.
Options
A collection of predefined numeric sets.
A collection of predefined evaluators
FAQs
A framework to automate the process of evaluating and running prediction models
The npm package predictor receives a total of 1 weekly downloads. As such, predictor popularity was classified as not popular.
We found that predictor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.