Element Details: Predicted+Column
 Back


Available in: Logi Info Source code name: PredictedColumn

PredictedColumn works with Logi Predict-generated training files to predict values from columns in the DataLayer.

Set the ID to the name of the predicted column to be added to the DataLayer.

The training file lists the columns required for prediction. See the required columns the training file's <PredictingColumns> element There must be columns in the DataLayer which match child <PredictingColumn> Caption attributes. For example if the training file contains this:

<PredictingColumns RType="character">
<PredictingColumn Caption="Length" OriginalID="myTable_length" />
<PredictingColumn Caption="Width" OriginalID="myTable_width" />
</PredictingColumns>

The DataLayer row(s) must have the two columns "Length" and "Width".

<PredictingColumns RType="character">
<PredictingColumn Caption="Sepal Length" OriginalID="Iris_Train_Sepal length" />
<PredictingColumn Caption="Sepal Width" OriginalID="Iris_Train_Sepal width" />
</PredictingColumns>

Note: PredictedColumn requires an additional Info module, Logi Predict.

Element Group:Add and Replace Columns



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
CreateProbabilityColumns
True
False
When "True", additional columns are created which indicate the probability that predicted values are correct. The default is "False".
ErrorResult
UserDefined
ErrorResult sets the value that is used whenever the Condition or script formula fails because of an error. For ConditionFilters, the default is "False". For CalculatedColumn and ExtraCrosstabCalculatedColum elements, the default is blank. Otherwise, the default is "???". Label's Caption attributes can have a script formula by making the first character the equals sign: "=".
ID
UserDefined
(Required) The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.
IncludeCondition
True
False
An expression that evaluates to a value of True or False. If the expression is blank, or evaluates to true the element is processed. If the expression evaluates to false, the element is skipped. Expressions should be in VBScript or JavaScript syntax. For .NET versions, the scripting language can be set in the _settings.lgx General element. For Java versions, the scripting language is always JavaScript. Typically, you would compare values using an operator, such as "@Session.value~ < 0". Use quotes when working with strings: "@Session.myValue~" == "SomeValue"
PredictionModelFile
UserDefined
(Required) The training results XML file. The training file may also require the RData file alongside, in the same folder.



PARENT ELEMENTS

Click element to drill down for more information.

DataLayer.Cached
DataLayer.CSV
DataLayer.Data Services
DataLayer.Excel
DataLayer.Fixed Format File
DataLayer.Google App
DataLayer.Google Spreadsheet
DataLayer.JSON
DataLayer.Linked
DataLayer.Mongo Find
DataLayer.Mongo Map Reduce
DataLayer.Mongo Run Command
DataLayer.Plugin
DataLayer.REST
DataLayer.SimpleDB
DataLayer.SP
DataLayer.SQL
DataLayer.Static
DataLayer.Twitter
DataLayer.Web Feed
DataLayer.Web Scraper
DataLayer.Web Service
DataLayer.XML


CHILD ELEMENTS

Click element to drill down for more information.



 Back to top


 Chart Debug