Class: TradeoffAnalyticsV1

TradeoffAnalyticsV1

new TradeoffAnalyticsV1(options)

Parameters:
Name Type Description
options Object
Source:

Methods

dilemmas()

Returns a dilemma that contains the problem and a resolution. The problem contains a set of options and objectives. The resolution contains a set of optimal options, their analytical characteristics, and representation on a 2D space.

Parameters:
Name Type Description
params.columns Array

List of possible objectives

params.subject String

Name of the decision problem

params.options String

A list of options. Typically, the rows in a table representation of your data

params.metadataHeader String

Value of the x-watson-metadata header to be forwarded for analytics purposes

params.generate_visualization String

Boolean (default = true). if false, the algorithm will not create the "map" visualization, and will typically run much faster

params.find_preferable_options String

Boolean (default = false). if true the algorithm includes a refined subset of best candidate options that will most likely satisfy the greatest number of users.

Source:

events(params)

Forward events from the Tradeoff Analytics widget to the service

Parameters:
Name Type Description
params String

the array of events to forward to the service

Properties
Name Type Description
metadataHeader String

Value of the x-watson-metadata header to be forwarded for analytics purposes

Source: