Negligible Participation Metric

    @raven-crypto/raven-playground
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.14 • Public • Published

    ts Models

    Testing a Model

    To train, test, and save a model, such as the logistic regression, via a Playground file, run (from the ts directory):

    ts-node ./src/ml-ingredients/logistic-regression/playground.ts train test save
    

    Where train and test one of {train, test, save, load, data }.

    • train: Trains a model, not saving the results.
    • test: Tests the trained model. Must specify train beforehand.
    • save: Saves the model to the specified JSON file.
    • load: Loads the model from the specified JSON file.
    • data: Outputs the training and testing data into a CSV file and opens it.

    Keywords

    none

    Install

    npm i @raven-crypto/raven-playground

    DownloadsWeekly Downloads

    19

    Version

    0.1.14

    License

    none

    Unpacked Size

    65 kB

    Total Files

    43

    Last publish

    Collaborators

    • anthonykrivonos