{"title":"Lift Chart (JavaScript) (legacy)","nodeType":"Visualizer","id":"*QKVni78elpxYcMm0","factoryName":"org.knime.js.base.node.viz.plotter.lift.LiftChartNodeFactory","factoryId":"org.knime.js.base.node.viz.plotter.lift.LiftChartNodeFactory","path":["Views","JavaScript"],"owner":"knime","ownerAccountId":"account:team:b5f0848f-496d-4e6a-b869-fa3532248db7","description":"<p>Creates a lift chart. Additionally, a chart for the cumulative percent of responses captured is shown. A lift chart is used to evaluate a predictive model. The higher the lift (the difference between the &#34;lift&#34; line and the base line), the better performs the predictive model. The lift is the ratio between the results obtained with and without the predictive model. It is calculated as number of positive hits (e .g. responses) divided by the average number of positives without model. The data table must have a column containing probabilities and a nominal column, containing the actual labels. At first, the data is sorted by probability, divided into deciles, then the actual labels are counted and the average rate is calculated.</p>\n                    \n            <p>The node supports custom CSS styling. You can simply put CSS rules into a single string and set it as a flow variable &#39;customCSS&#39; in the node configuration dialog. You will find the list of available classes and their description on our <a href=\"https://knime.com/css-styling\" rel=\"ugc nofollow noopener noreferrer\">documentation page</a> .</p>\n                    \n        \n        ","shortDescription":"A lift chart using a JavaScript based charting library.","keywords":[],"deprecated":false,"streamable":false,"tags":["Views","JavaScript"],"icon":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsSAAALEgHS3X78AAAAvklEQVQ4jaXTvQ2DQAwF4EdqJE9B7QEobiU28AhXUTMFNVdR4h2goUCCDV6KKFGkRIk4Xm19svxTACBJ5OYGACklpJTygeM40DRNdhckSRHhMAw8mxdgZgwh5AMkqao0s3zA3Ski7LouD3hHYox5wBNRVYYQ/g72K0CS+77TzCgiVFXGGOnuH3UFAI7j+HPPfd/D3TFNE9Z1RVmWqKoKbduiAMBt204dzjzPWJYFdV0/AF79hSu5DBQA8vsHcAe2zrDdRLPOXQAAAABJRU5ErkJggg==","views":[],"interactiveView":{"name":"Lift Chart","description":"Displays a lift chart visualization."},"inPorts":[{"objectClass":"org.knime.core.node.BufferedDataTable","color":"000000","dataType":"Table","optional":false,"name":"Display data","description":"Data table with data to display."}],"outPorts":[{"objectClass":"org.knime.core.node.port.image.ImagePortObject","color":"41be78","dataType":"Image","optional":false,"name":"Image","description":"SVG image rendered by the JavaScript implementation of the lift chart."},{"objectClass":"org.knime.core.node.BufferedDataTable","color":"000000","dataType":"Table","optional":false,"name":"Input data and view selection","description":"Data table containing the input data appended with a column, that represents the selection made in the lift chart view."}],"dynInPorts":[],"dynOutPorts":[],"additionalSiteInformation":{"url":"https://update.knime.com/analytics-platform/5.12","trusted":true,"enabledByDefault":true,"name":"KNIME Analytics Platform 5.12 Update Site","version":"5.12.0"},"dialog":[{"sectionName":"Data Options","fields":[{"name":"Response Column","description":"Nominal column containing the actual labels, e. g. if a person responded","optional":false},{"name":"Probability Column","description":"Numeric column containing the predicted score in probabilities of the model","optional":false},{"name":"Positive label (hits)","description":"The label for a positive value (hit).","optional":false},{"name":"Interval width in %","description":"The width in which the data is separated before counting.","optional":false},{"name":"Ignore missing values","description":"If checked, the missing values in Probability columns will be ignored without a warning message. Otherwise, they will be sorted to the end of the curves with a corresponding warning message.\n<br />\nMissing values in Response column are ignored in any case.","optional":false}]},{"sectionName":"General Plot Options","fields":[{"name":"Create image at outport","description":"If an image is supposed to be rendered during execute for the upper outport. Disable this option if image is not needed or creation is too time consuming.","optional":false},{"name":"Lift chart title","description":"The title of the lift graph shown above the generated image. If left blank, no title will be shown.","optional":true},{"name":"Lift chart subtitle","description":"The subtitle of the lift graph shown above the generated image. If left blank, no subtitle will be shown.","optional":true},{"name":"Gain chart title","description":"The title of the gain graph shown above the generated image. If left blank, no title will be shown.","optional":true},{"name":"Gain chart subtitle","description":"The subtitle of the gain graph shown above the generated image. If left blank, no subtitle will be shown.","optional":true},{"name":"Width of image (in px)","description":"The width of the generated SVG image.","optional":false},{"name":"Height of image (in px)","description":"The height of the generated SVG image.","optional":false},{"name":"Line width (in px)","description":"The width of the shown lines.","optional":false},{"name":"Smoothing","description":"The smoothing algorithm for the shown lines.","optional":false},{"name":"Resize view to fill window","description":"Setting this option resizes the view to the available area of the window. If disabled the view size is static according to the set width and height.","optional":false},{"name":"Background color","description":"The color of the background of the image.","optional":false},{"name":"Data area color","description":"The background color of the data area, within the axes.","optional":false},{"name":"Show grid","description":"If an additional grid is being rendered at the axes tick positions.","optional":false},{"name":"Grid color","description":"The color of the grid.","optional":false},{"name":"Show warnings in view","description":"If checked, warning messages will be displayed in the view when they occur.","optional":false}]},{"sectionName":"Axis Configuration","fields":[{"name":"Label for x-axis","description":"The label for the x-axis. If left blank, the selected column name is displayed.","optional":true},{"name":"Label for y-axis","description":"The label for the y-axis. If left blank, the selected column name is displayed.","optional":true},{"name":"Show color legend","description":"Switches the legend on/off. The legend shows the mapping between colors used in the view and the respective column names.","optional":false}]},{"sectionName":"View Controls","fields":[{"name":"Enable view edit controls","description":"If checked all edit controls selected below will be rendered in the view. Unchecking this option disables all edit controls.","optional":false},{"name":"Enable title edit controls","description":"Renders a text box to change the chart title in the view.","optional":false},{"name":"Enable subtitle edit controls","description":"Renders a text box to change the chart subtitle in the view.","optional":false},{"name":"Enable label edit for x-axis","description":"Renders a text box to change x-axis label in the view.","optional":false},{"name":"Enable label edit for y-axis","description":"Renders a text box to change y-axis label in the view.","optional":false},{"name":"Enable toggle between views","description":"Renders a control to switch between Lift Chart and Cumulative Gain Chart modes.","optional":false},{"name":"Enable selection of smoothing","description":"Renders a selector of smoothing algorithm.","optional":false}]}],"links":[],"kudos":[{"accountId":"account:user:fd74d1b4-da47-4c58-86e7-4fdd8c45dce0","user":"lukass","date":"2022-04-21T15:47:03+00:00"}],"kudosCount":1,"bundleInformation":{"bundleVersion":"5.12.0.v202605041104","bundleName":"KNIME JavaScript Base Views","bundleSymbolicName":"org.knime.js.views","bundleVendor":"KNIME AG, Zurich, Switzerland","featureSymbolicName":"org.knime.features.js.views","featureName":"KNIME JavaScript Views","featureVersion":"5.12.0.v202605041104","featureVendor":"KNIME AG, Zurich, Switzerland","extensionId":"*0qveOxOA3751S6Vx"},"frequentSuccessors":[{"id":"*3o-UY2qMENf5piCd","factoryName":"org.knime.base.node.preproc.sample.SamplingNodeFactory","probability":0.15},{"id":"*OKRvXgFKIQmsm76N","factoryName":"org.knime.js.base.node.viz.plotter.roc.ROCCurveNodeFactory","probability":0.1},{"id":"*kxEZaYvXuRyXSnCE","factoryName":"org.knime.base.node.image.writeimage.WriteImageNodeFactory","probability":0.1},{"id":"*F0ZMkNAGudnmoAyE","factoryName":"org.knime.base.node.stats.dataexplorer.DataExplorerNodeFactory","probability":0.05},{"id":"*FK6PvJXC6UAwGsc0","factoryName":"org.knime.network.node.viz.jsviewer.NetworkViewNodeFactory","probability":0.05},{"id":"*GN2SBVbWzuK822qv","factoryName":"org.knime.js.base.node.viz.pagedTable.PagedTableViewNodeFactory","probability":0.05},{"id":"*HfjocjSO8N6kdv5m","factoryName":"org.knime.base.node.preproc.autobinner3.AutoBinnerLearnNodeFactory","probability":0.05},{"id":"*MD6juzhoWJLJGkE9","factoryName":"org.knime.base.node.util.extracttablespec.ExtractTableSpecNodeFactory","probability":0.05},{"id":"*OQlWyEt6N59f0jmF","factoryName":"org.knime.base.node.viz.property.color.ColorManager2NodeFactory","probability":0.05},{"id":"*RU-6protUkRcKI34","factoryName":"org.knime.testing.internal.nodes.image.ImageDifferNodeFactory","probability":0.05}]}
