Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pippo

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pippo

A CTR CLI optimization tool

  • 1.0.4
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Pippo

A CTR CLI tool for pippo

Build Status Coverage Status

CLI Installation and Useage

First, install pippo globally:

npm install -g pippo

This will install the resol command into your shell. Next run the pippo command with two local files

$ resol ./path/to/advertisers.txt ./path/to/people.txt

This will generate optimized CTR choices and display them in console. If you want to save the output to a file, then use the -o option in the command line

$ resol ./path/to/advertisers.txt ./path/to/people.txt -o output.txt

Or if you want to just test it out without needing the txt files, you can add in the -t option

$ resol -t

If you want to see what it can do, just type resol, or resol -h for all the options

$ resol

$ resol -h

Programatic Useage

If you want to use the Resol library locally in an NPM server or in the browser, then just use npm to install it normally

npm install pippo --save

And include it in your scripts using the require function (requires browserify if your using a browser)

var Resol = require('pippo');

var ctr     = new Resol(advertiserArray, peopleArray);
var results = ctr.pareto();

/* Results:
  {
    choices: [
      {
        ad: "Advertiser Name",
        person: "Person Name",
        score: 15,
        cost: -20
      }
    ],
    score: 15
  }
 */

FAQs

Package last updated on 23 Nov 2015

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc