XGBoost
Associated Constructors
XGBoost
Syntax: XGBoost(Y( columns ), X( columns ))
Description: Predictive modeling interface to eXtreme Gradient Boosted trees.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
Columns
Censor
Syntax: obj = XGBoost(...<Censor( column )>...)
JMP Version Added: 17
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
Factor
Syntax: obj = XGBoost(...Factor( column(s) )...)
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
Freq
Syntax: obj = XGBoost(...<Freq( column )>...)
Description: Specifies a column whose values assign a frequency to each row for the analysis.
JMP Version Added: 16
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << New Column( "_freqcol", Numeric, Continuous, Set Each Value( Random Integer( 1, 5 ) ) );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
Response
Syntax: obj = XGBoost(...Response( column(s) )...)
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
Validation
Syntax: obj = XGBoost(...<Validation( column(s) )>...)
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
Weight
Syntax: obj = XGBoost(...<Weight( column )>...)
Description: Specifies a column whose values assign a weight to each row for the analysis.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << New Column( "_weightcol", Numeric, Continuous, Set Each Value( Random Beta( 1, 1 ) ) );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
X
Syntax: obj = XGBoost(...X( column(s) )...)
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
Y
Syntax: obj = XGBoost(...Y( column(s) )...)
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
Item Messages
Change Variables
Syntax: obj << Change Variables
Description: Changes X, Y, and other variables for subsequent models.
JMP Version Added: 16
Compare
Syntax: obj << Compare
Description: Updates the XGBoost comparison metrics.
JMP Version Added: 16
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit( Objective( 0 ) ) );
obj << Compare( Correlation( 1 ) );
Fit
Syntax: obj << Fit
Description: Fits an XGBoost model. You can specify XGBoost parameters and fitting specifications within this.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
Get Measures
Syntax: obj << Get Measures
JMP Version Added: 16
Method
Syntax: obj << Method( "xgboost"|"lightgbm"="xgboost" )
Description: Select either XGBoost or LightGBM as a method for gradient boosting fitting. "xgboost" by default.
JMP Version Added: 19
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost(
Y( :Weight ),
X( :Height ),
Fit( Method( "lightgbm" ), objective( "regression" ) )
);
Redo Analysis
Syntax: obj << Redo Analysis
Description: Rerun this same analysis in a new window. The analysis will be different if the data has changed.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
obj << Redo Analysis;
Relaunch Analysis
Syntax: obj << Relaunch Analysis
Description: Opens the platform launch window and recalls the settings that were used to create the report.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
obj << Relaunch Analysis;
Show Details
Syntax: obj << Show Details( state=0|1 )
Description: Shows more details.
JMP Version Added: 16
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Show Details( 1 ) );
Shared Item Messages
Action
Syntax: obj << Action
Description: All-purpose trapdoor within a platform to insert expressions to evaluate. Temporarily sets the DisplayBox and DataTable contexts to the Platform.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Bivariate(
Y( :height ),
X( :weight ),
Action( Distribution( Y( :height, :weight ), Histograms Only ) )
);
Apply Preset
Syntax: Apply Preset( preset ); Apply Preset( source, label, <Folder( folder {, folder2, ...} )> )
Description: Apply a previously created preset to the object, updating the options and customizations to match the saved settings.
JMP Version Added: 18
Anonymous preset
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << Oneway( Y( :height ), X( :sex ), t Test( 1 ) );
preset = obj << New Preset();
dt2 = Open( "$SAMPLE_DATA/Dogs.jmp" );
obj2 = dt2 << Oneway( Y( :LogHist0 ), X( :drug ) );
Wait( 1 );
obj2 << Apply Preset( preset );
Search by name
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << Oneway( Y( :height ), X( :sex ) );
Wait( 1 );
obj << Apply Preset( "Sample Presets", "Compare Distributions" );
Search within folder(s)
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << Oneway( Y( :height ), X( :sex ) );
Wait( 1 );
obj << Apply Preset( "Sample Presets", "t-Tests", Folder( "Compare Means" ) );
Copy ByGroup Script
Syntax: obj << Copy ByGroup Script
Description: Create a JSL script to produce this analysis, and put it on the clipboard.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << New Column( "_bycol",
Character,
Nominal,
Set Values( Repeat( {"A", "B"}, N Rows( dt ) )[1 :: N Rows( dt )] )
);
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
obj[1] << Copy ByGroup Script;
Copy Script
Syntax: obj << Copy Script
Description: Create a JSL script to produce this analysis, and put it on the clipboard.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
obj << Copy Script;
Get By Levels
Syntax: obj << Get By Levels
Description: Returns an associative array mapping the by group columns to their values.
JMP Version Added: 18
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = dt << Bivariate( X( :height ), Y( :weight ), By( :sex ) );
biv << Get By Levels;
Get ByGroup Script
Syntax: obj << Get ByGroup Script
Description: Creates a script (JSL) to produce this analysis and returns it as an expression.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << New Column( "_bycol",
Character,
Nominal,
Set Values( Repeat( {"A", "B"}, N Rows( dt ) )[1 :: N Rows( dt )] )
);
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
t = obj[1] << Get ByGroup Script;
Show( t );
Get Container
Syntax: obj << Get Container
Description: Returns a reference to the container box that holds the content for the object.
General
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
t = obj << Get Container;
Show( (t << XPath( "//OutlineBox" )) << Get Title );
Platform with Filter
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
gb = Graph Builder(
Show Control Panel( 0 ),
Variables( X( :height ), Y( :weight ) ),
Elements( Points( X, Y, Legend( 1 ) ), Smoother( X, Y, Legend( 2 ) ) ),
Local Data Filter(
Add Filter(
columns( :age, :sex, :height ),
Where( :age == {12, 13, 14} ),
Where( :sex == "F" ),
Where( :height >= 55 ),
Display( :age, N Items( 6 ) )
)
)
);
New Window( "platform boxes",
H List Box(
Outline Box( "Report(platform)", Report( gb ) << Get Picture ),
Outline Box( "platform << Get Container", (gb << Get Container) << Get Picture )
)
);
Get Data Table
Syntax: obj << Get Data Table
Description: Returns a reference to the data table.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
t = obj << Get Datatable;
Show( N Rows( t ) );
Get Script
Syntax: obj << Get Script
Description: Creates a script (JSL) to produce this analysis and returns it as an expression.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
t = obj << Get Script;
Show( t );
Get Script With Data Table
Syntax: obj << Get Script With Data Table
Description: Creates a script(JSL) to produce this analysis specifically referencing this data table and returns it as an expression.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
t = obj << Get Script With Data Table;
Show( t );
Get Timing
Syntax: obj << Get Timing
Description: Times the platform launch.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
t = obj << Get Timing;
Show( t );
Get Web Support
Syntax: obj << Get Web Support
Description: Return a number indicating the level of Interactive HTML support for the display object. 1 means some or all elements are supported. 0 means no support.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << Bivariate( Y( :Weight ), X( :Height ) );
s = obj << Get Web Support();
Show( s );
Get Where Expr
Syntax: obj << Get Where Expr
Description: Returns the Where expression for the data subset, if the platform was launched with By() or Where(). Otherwise, returns Empty()
JMP Version Added: 18
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = dt << Bivariate( X( :height ), Y( :weight ), By( :sex ) );
biv2 = dt << Bivariate( X( :height ), Y( :weight ), Where( :age < 14 & :height > 60 ) );
Show( biv[1] << Get Where Expr, biv2 << Get Where Expr );
Ignore Platform Preferences
Syntax: Ignore Platform Preferences( state=0|1 )
Description: Ignores the current settings of the platform's preferences. The message is ignored when sent to the platform after creation.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Bivariate(
Ignore Platform Preferences( 1 ),
Y( :height ),
X( :weight ),
Action( Distribution( Y( :height, :weight ), Histograms Only ) )
);
New Preset
Syntax: obj = New Preset()
Description: Create an anonymous preset representing the options and customizations applied to the object. This object can be passed to Apply Preset to copy the settings to another object of the same type.
JMP Version Added: 18
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << Oneway( Y( :height ), X( :sex ), t Test( 1 ) );
preset = obj << New Preset();
Report
Syntax: obj << Report; Report( obj )
Description: Returns a reference to the report object.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
r = obj << Report;
t = r[Outline Box( 1 )] << Get Title;
Show( t );
Save ByGroup Script to Data Table
Syntax: Save ByGroup Script to Data Table( <name>, < <<Append Suffix(0|1)>, < <<Prompt(0|1)>, < <<Replace(0|1)> );
Description: Creates a JSL script to produce this analysis, and save it as a table property in the data table. You can specify a name for the script. The Append Suffix option appends a numeric suffix to the script name, which differentiates the script from an existing script with the same name. The Prompt option prompts the user to specify a script name. The Replace option replaces an existing script with the same name.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << New Column( "_bycol",
Character,
Nominal,
Set Values( Repeat( {"A", "B"}, N Rows( dt ) )[1 :: N Rows( dt )] )
);
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
obj[1] << Save ByGroup Script to Data Table;
Save ByGroup Script to Journal
Syntax: obj << Save ByGroup Script to Journal
Description: Create a JSL script to produce this analysis, and add a Button to the journal containing this script.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << New Column( "_bycol",
Character,
Nominal,
Set Values( Repeat( {"A", "B"}, N Rows( dt ) )[1 :: N Rows( dt )] )
);
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
obj[1] << Save ByGroup Script to Journal;
Save ByGroup Script to Script Window
Syntax: obj << Save ByGroup Script to Script Window
Description: Create a JSL script to produce this analysis, and append it to the current Script text window.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << New Column( "_bycol",
Character,
Nominal,
Set Values( Repeat( {"A", "B"}, N Rows( dt ) )[1 :: N Rows( dt )] )
);
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
obj[1] << Save ByGroup Script to Script Window;
Save Script for All Objects
Syntax: obj << Save Script for All Objects
Description: Creates a script for all report objects in the window and appends it to the current Script window. This option is useful when you have multiple reports in the window.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
obj << Save Script for All Objects;
Save Script for All Objects To Data Table
Syntax: obj << Save Script for All Objects To Data Table( <name> )
Description: Saves a script for all report objects to the current data table. This option is useful when you have multiple reports in the window. The script is named after the first platform unless you specify the script name in quotes.
Example 1
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << New Column( "_bycol",
Character,
Nominal,
Set Values( Repeat( {"A", "B"}, N Rows( dt ) )[1 :: N Rows( dt )] )
);
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
obj[1] << Save Script for All Objects To Data Table;
Example 2
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << New Column( "_bycol",
Character,
Nominal,
Set Values( Repeat( {"A", "B"}, N Rows( dt ) )[1 :: N Rows( dt )] )
);
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
obj[1] << Save Script for All Objects To Data Table( "My Script" );
Save Script to Data Table
Syntax: Save Script to Data Table( <name>, < <<Prompt(0|1)>, < <<Replace(0|1)> );
Description: Create a JSL script to produce this analysis, and save it as a table property in the data table.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
obj << Save Script to Data Table( "My Analysis", <<Prompt( 0 ), <<Replace( 0 ) );
Save Script to Journal
Syntax: obj << Save Script to Journal
Description: Create a JSL script to produce this analysis, and add a Button to the journal containing this script.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
obj << Save Script to Journal;
Save Script to Report
Syntax: obj << Save Script to Report
Description: Create a JSL script to produce this analysis, and show it in the report itself. Useful to preserve a printed record of what was done.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
obj << Save Script to Report;
Save Script to Script Window
Syntax: obj << Save Script to Script Window
Description: Create a JSL script to produce this analysis, and append it to the current Script text window.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
obj << Save Script to Script Window;
SendToByGroup
Syntax: SendToByGroup( {":Column == level"}, command );
Description: Sends platform commands or display customization commands to each level of a by-group.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Distribution(
By( :Sex ),
SendToByGroup(
{:sex == "F"},
Continuous Distribution( Column( :weight ), Normal Quantile Plot( 1 ) )
),
SendToByGroup( {:sex == "M"}, Continuous Distribution( Column( :weight ) ) )
);
SendToEmbeddedScriptable
Syntax: SendToEmbeddedScriptable( Dispatch( "Outline name", "Element name", command );
Description: SendToEmbeddedScriptable restores settings of embedded scriptable objects.
dt = Open( "$SAMPLE_DATA/Reliability/Fan.jmp" );
dt << Life Distribution(
Y( :Time ),
Censor( :Censor ),
Censor Code( 1 ),
<<Fit Weibull,
SendToEmbeddedScriptable(
Dispatch(
{"Statistics", "Parametric Estimate - Weibull", "Profilers", "Density Profiler"},
{1, Confidence Intervals( 0 ), Term Value( Time( 6000, Lock( 0 ), Show( 1 ) ) )}
)
)
);
SendToReport
Syntax: SendToReport( Dispatch( "Outline name", "Element name", Element type, command );
Description: Send To Report is used in tandem with the Dispatch command to customize the appearance of a report.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Distribution(
Nominal Distribution( Column( :age ) ),
Continuous Distribution( Column( :weight ) ),
SendToReport( Dispatch( "age", "Distrib Nom Hist", FrameBox, {Frame Size( 178, 318 )} ) )
);
Title
Syntax: obj << Title( "new title" )
Description: Sets the title of the platform.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
obj << Title( "My Platform" );
Top Report
Syntax: obj << Top Report
Description: Returns a reference to the root node in the report.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << XGBoost( Y( :Weight ), X( :Height ), Fit );
r = obj << Top Report;
t = r[Outline Box( 1 )] << Get Title;
Show( t );
View Web XML
Syntax: obj << View Web XML
Description: Returns the XML code that is used to create the interactive HTML report.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = dt << Bivariate( Y( :Weight ), X( :Height ) );
xml = obj << View Web XML;
XGBoost Compare
Associated Constructors
XGBoost Compare
Syntax: XGBoost Compare
Item Messages
AUC
Syntax: obj << AUC( state=0|1 )
Description: Shows or hides the AUROC, which is the area under the receiver operating characteristic curve. On by default.
JMP Version Added: 16
AUPRC
Syntax: obj << AUPRC( state=0|1 )
Description: Area under the Precision Recall Curve On by default.
JMP Version Added: 17
Accuracy
Syntax: obj << Accuracy( state=0|1 )
Description: Shows or hides the accuracy, which is the proportion of correct classifications. On by default.
JMP Version Added: 15
Censor
Syntax: obj << Censor( state=0|1 )
Description: Shows or hides the Censor command On by default.
JMP Version Added: 17
Concordance
Syntax: obj << Concordance( state=0|1 )
Description: Shows or hides the concordance, which is the Harrell C-Index and measures strength of sorting efficiency On by default.
JMP Version Added: 17
Correlation
Syntax: obj << Correlation( state=0|1 )
Description: Shows or hides the Pearson correlation, which is a measure of the strength of the linear relationship. On by default.
JMP Version Added: 15
F1
Syntax: obj << F1( state=0|1 )
Description: Shows or hides the F1 Score, which is the harmonic average of precision and recall. On by default.
JMP Version Added: 15
Features
Syntax: obj << Features( state=0|1 )
Description: Shows or hides the Features column. On by default.
JMP Version Added: 16
Freq
Syntax: obj << Freq( state=0|1 )
Description: Shows or hides the Freq column. On by default.
JMP Version Added: 16
H Measure
Syntax: obj << H Measure( state=0|1 )
Description: Shows or hides the H Measure, which measures proportion improvement over baseline. On by default.
JMP Version Added: 17
Hide All Models
Syntax: obj << Hide All Models
Description: Hides all models.
JMP Version Added: 16
LogLoss
Syntax: obj << LogLoss( state=0|1 )
Description: Shows or hides the logarithm of the likelihood-based loss function. On by default.
JMP Version Added: 15
MAE
Syntax: obj << MAE( state=0|1 )
Description: Shows or hides the MAE, which is the mean absolute error. On by default.
JMP Version Added: 15
MCC
Syntax: obj << MCC( state=0|1 )
Description: Shows or hides the Matthews correlation coefficient, which is the Pearson correlation for binary variables. On by default.
JMP Version Added: 15
Misclass
Syntax: obj << Misclass( state=0|1 )
Description: Shows or hides the misclassification rate, which is the proportion of incorrect classifications. On by default.
JMP Version Added: 15
Predictors
Syntax: obj << Predictors( state=0|1 )
Description: Shows or hides the Predictors column. On by default.
JMP Version Added: 16
Profit
Syntax: obj << Profit( state=0|1 )
Description: Shows or hides the expected profit. On by default.
JMP Version Added: 16
RMSE
Syntax: obj << RMSE( state=0|1 )
Description: Shows or hides the RMSE, which is the root mean square error. On by default.
JMP Version Added: 15
RSquare
Syntax: obj << RSquare( state=0|1 )
Description: Shows or hides RSquare value, which is the proportion of variability explained. On by default.
JMP Version Added: 15
Remove Hidden Models
Syntax: obj << Remove Hidden Models
Description: Removes all models for which the Show box is not checked.
JMP Version Added: 16
Remove Shown Models
Syntax: obj << Remove Shown Models
Description: Removes all models for which the Show check box is checked and shows the remaining models.
JMP Version Added: 15
Response
Syntax: obj << Response( state=0|1 )
Description: Shows or hides the Response column. On by default.
JMP Version Added: 16
Show All Models
Syntax: obj << Show All Models
Description: Shows all models.
JMP Version Added: 16
Training Metrics
Syntax: obj << Training Metrics( state=0|1 )
Description: Shows or hides all training metrics. On by default.
JMP Version Added: 15
Validation
Syntax: obj << Validation( state=0|1 )
Description: Shows or hides the Validation column. On by default.
JMP Version Added: 16
Validation Metrics
Syntax: obj << Validation Metrics( state=0|1 )
Description: Shows or hides all validation metrics. On by default.
JMP Version Added: 15
Weight
Syntax: obj << Weight( state=0|1 )
Description: Shows or hides the Weight column. On by default.
JMP Version Added: 16
XGBoost Fit
Associated Constructors
XGBoost Fit
Syntax: XGBoost Fit
Item Messages
Actual by Predicted Plots
Syntax: obj << Actual by Predicted Plots( state=0|1 )
Description: Shows or hides a plot using the training data with the predicted values on the X axis and actual values on the Y axis. On by default.
JMP Version Added: 15
Autotune
Syntax: obj << Autotune( state=0 )
Description: Creates a fast flexible filling design within min and max parameter settings to fit n models, where n is Number of Runs. "0" by default.
JMP Version Added: 17
Confusion Matrices
Syntax: obj << ( fit[number] << Confusion Matrices( state=0|1 ) )
Description: Shows or hides a crosstabulation matrix of actual and predicted levels. On by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Iris.jmp" );
obj = dt << XGBoost(
Y( :Species ),
X( :Sepal length, :Sepal width, :Petal length, :Petal width ),
Fit
);
obj << (fit[1] << Confusion Matrices( 1 ));
Contour Profiler
Syntax: obj << Contour Profiler
Description: Shows or hides interactive graphs of cross-sections of the prediction function.
JMP Version Added: 15
Copy Parameters to Launch
Syntax: obj << Copy Parameters to Launch
Description: Copies the parameters from this model to the model launch section.
JMP Version Added: 16
Decision Thresholds
Syntax: obj << Decision Thresholds( state=0|1 )
Description: Shows or hides decision threshold graphs and tables. On by default.
JMP Version Added: 16
Fit Details
Syntax: obj << Fit Details( state=0|1 )
Description: Shows or hides the statistics for the fitted model. On by default.
JMP Version Added: 15
Generate Python Code
Syntax: obj << Generate Python Code
Description: Creates Python code for training and scoring.
JMP Version Added: 16
Importances
Syntax: obj << Importances( state=0|1 )
Description: Shows or hides the importance statistics for each predictor. On by default.
JMP Version Added: 15
Lift Curves
Syntax: obj << Lift Curves( state=0|1 )
Description: Shows or hides the Lift Curve plot. A lift curve plots the lift versus the portion of the observations and provides another view of the predictive ability of a model.
JMP Version Added: 15
Number of Design Points
Syntax: obj << Number of Design Points( number=10 )
Description: Specifies the number of tuning design runs to perform. If you have a large problem, keep this value relatively small. "10" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( Number of Design Points( 10 ) ) );
Number of Inner Folds
Syntax: obj << Number of Inner Folds( number=2 )
Description: Specifies the number of nested inner folds used during the autotune process. "2" by default.
JMP Version Added: 17
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( Number of Inner Folds( 2 ) ) );
Precision Recall Curves
Syntax: obj << Precision Recall Curves( state=0|1 )
Description: Plots the trade-off between precision and recall for different classification thresholds. It is preferred in scenarios where class imbalances exist.
JMP Version Added: 15
Profiler
Syntax: obj << Profiler
Description: Shows or hides the prediction profiler, which is used to graphically explore the prediction equation by slicing it one factor at a time. The prediction profiler contains features for optimization.
JMP Version Added: 15
Publish Prediction Formula
Syntax: obj << Publish Prediction Formula
Description: Creates prediction formulas and saves them as formula column scripts in the Formula Depot platform.
JMP Version Added: 15
ROC Curves
Syntax: obj << ROC Curves( state=0|1 )
Description: Shows or hides the Receiver Operating Characteristic (ROC) curve for each level of the response variable. The ROC curve is a plot of sensitivity versus (1 - specificity).
JMP Version Added: 15
Remove All But This Fit
Syntax: obj << ( fit[number] << Remove All But This Fit )
Description: Removes the reports and plots for all models except this one.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Iris.jmp" );
obj = dt << XGBoost(
Y( :Species ),
X( :Sepal length, :Sepal width, :Petal length, :Petal width ),
Fit
);
Wait( 2 );
obj << (Fit[1] << Remove All But This Fit);
Remove Fit
Syntax: obj << ( fit[number] << Remove Fit )
Description: Removes the entire model report.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Iris.jmp" );
obj = dt << XGBoost(
Y( :Species ),
X( :Sepal length, :Sepal width, :Petal length, :Petal width ),
Fit
);
Wait( 2 );
obj << (Fit[1] << Remove Fit);
Save Predicteds
Syntax: obj << Save Predicteds
Description: Saves the predicted values in a new column in the data table.
JMP Version Added: 15
Save Prediction Formula
Syntax: obj << Save Prediction Formula
Description: Saves the prediction formula in a new column in the data table. Calculations can be slow for large models.
JMP Version Added: 15
Save SHAPs
Syntax: obj << Save SHAPs
Description: Saves Shapley values to the data table. These values break down predictions into components for each predictor.
JMP Version Added: 17
Set Random Seed
Syntax: obj << Set Random Seed( number=0 )
Description: Sets the random seed to a specific value assuring that all subsequent runs using the same seed are reproducible. "0" by default.
JMP Version Added: 19
Surface Profiler
Syntax: obj << Surface Profiler
Description: Shows or hides interactive graphs of cross-sections of the prediction function.
JMP Version Added: 15
Tree Details
Syntax: obj << Tree Details( state=0|1 )
Description: Shows or hides the breakdown of each tree split.
JMP Version Added: 15
Tuning Design Table
Syntax: Tuning Design Table( "table name" )
Description: Specifies the name of an open JMP data table of parameter settings used to fit a series of models. The columns of this table must exactly match parameter names, and each row must contain values of these parameters to use for that model fit. Parameters that are not specified are set to their values from this dialog.
JMP Version Added: 15
alpha
Syntax: obj << alpha( number=0.0 )
Description: Specifies the L1 regularization term on weights. Increasing this value makes the model more conservative. This value must be nonnegative. "0.0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( alpha( 0.0 ) ) );
alpha_max
Syntax: obj << alpha_max( number=0.5 )
Description: Specifies the maximum L1 regularization term on weights. Increasing this value makes the model more conservative. This value must be nonnegative. "0.5" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( alpha_max( 2.0 ) ) );
alpha_min
Syntax: obj << alpha_min( number=0.0 )
Description: Specifies the minimum L1 regularization term on weights. Increasing this value makes the model more conservative. This value must be nonnegative. "0.0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( alpha_min( 0.0 ) ) );
bagging_by_query
Syntax: obj << bagging_by_query( state=0 )
Description: Specifies whether to force rowwise histogram building. Enabling this option reduces memory cost, especially for data that have many samples and are associated with small bagging fraction or GOSS sample strategy. This option cannot be used together with force columnwise. "0" by default.
JMP Version Added: 19
bagging_fraction
Syntax: obj << bagging_fraction( number=1 )
Description: Specifies the proportion of rows to sample during each iteration. This value must be between 0 and 1. This is a type of bagging. "1" by default.
JMP Version Added: 19
bagging_fraction_max
Syntax: obj << bagging_fraction_max( number=1.0 )
Description: Specifies the maximum proportion of rows to sample during each iteration. This value must be between 0 and 1. This is a type of bagging. "1.0" by default.
JMP Version Added: 19
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( bagging_fraction_max( 1.0 ) ) );
bagging_fraction_min
Syntax: obj << bagging_fraction_min( number=0.3 )
Description: Specifies the minimum proportion of rows to sample during each iteration. This value must be between 0 and 1. This is a type of bagging. "0.3" by default.
JMP Version Added: 19
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( bagging_fraction_min( 0.3 ) ) );
bagging_freq
Syntax: obj << bagging_freq( number=0 )
Description: Specifies the frequency of bagging. This value determines the number of iterations at which a new random sample of training data is drawn to train the model. "0" by default.
JMP Version Added: 19
bagging_seed
Syntax: obj << bagging_seed( number=3 )
Description: Specifies the seed that is used for the bagging random number generator. "3" by default.
JMP Version Added: 19
base_score
Syntax: obj << base_score( number=0.5 )
Description: Specifies the initial prediction score of all instances, which is the global bias. The mean of y is typically a good choice. "0.5" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( base_score( 0.5 ) ) );
bin_construct_sample_cnt
Syntax: obj << bin_construct_sample_cnt( number=200000 )
Description: Specifies the number of observations that are sampled to construct feature discrete bins. If this option is set to small values, you might encounter unexpected errors and poor accuracy. "200000" by default.
JMP Version Added: 19
boost_from_average
Syntax: obj << boost_from_average( state=1 )
Description: Specifies whether the initial prediction is set to the average of the response variable or to a constant zero. This option is used only in regression, binary, multiclass, and cross-entropy objectives. On by default.
JMP Version Added: 19
booster
Syntax: obj << booster( "gbtree"|"gblinear"|"dart"="gbtree" )
Description: Specifies which booster to use. "gbtree" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( booster( "gbtree" ) ) );
boosting
Syntax: obj << boosting( "gbdt"|"rf"|"dart"="gbdt" )
Description: Specifies the boosting strategy that is used during model training. "gbdt" by default.
JMP Version Added: 19
cat_l2
Syntax: obj << cat_l2( number=10 )
Description: Specifies the L2 regularization value for categorical features. "10" by default.
JMP Version Added: 19
cat_l2_max
Syntax: obj << cat_l2_max( number=15 )
Description: Specifies the maximum L2 regularization value for categorical features. "15" by default.
JMP Version Added: 19
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( cat_l2_max( 2.0 ) ) );
cat_l2_min
Syntax: obj << cat_l2_min( number=5 )
Description: Specifies the minimum L2 regularization value for categorical features. "5" by default.
JMP Version Added: 19
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( cat_l2_min( 0.0 ) ) );
cat_smooth
Syntax: obj << cat_smooth( number=10 )
Description: Specifies the regularization value that is used to reduce the impact of noise in categorical features, especially for those categories with few observations. "10" by default.
JMP Version Added: 19
cegb_penalty_split
Syntax: obj << cegb_penalty_split( number=0 )
Description: "0" by default.
JMP Version Added: 19
cegb_tradeoff
Syntax: obj << cegb_tradeoff( number=1 )
Description: "1" by default.
JMP Version Added: 19
colsample_bylevel
Syntax: obj << colsample_bylevel( number=1.0 )
Description: Specifies the proportion of columns to sample for each level. Sampling occurs once for every new depth level reached in a tree. "1.0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( colsample_bylevel( 1.0 ) ) );
colsample_bynode
Syntax: obj << colsample_bynode( number=1.0 )
Description: Specifies the proportion of columns to sample for each node (split). Sampling occurs once every time a new split is evaluated. "1.0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( colsample_bynode( 1.0 ) ) );
colsample_bytree
Syntax: obj << colsample_bytree( number=1.0 )
Description: Specifies the proportion of columns to sample when constructing each tree. Sampling occurs once for each tree. This value must be between 0 and 1. "1.0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( colsample_bytree( 1.0 ) ) );
colsample_bytree_max
Syntax: obj << colsample_bytree_max( number=1.0 )
Description: Specifies the maximum proportion of columns to sample when constructing each tree. Sampling occurs once for each tree. This value must be between 0 and 1. "1.0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( colsample_bytree_max( 1.0 ) ) );
colsample_bytree_min
Syntax: obj << colsample_bytree_min( number=0.5 )
Description: Specifies the minimum proportion of columns to sample when constructing each tree. Sampling occurs once for each tree. This value must be between 0 and 1. "0.5" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( colsample_bytree_min( 0.3 ) ) );
data_random_seed
Syntax: obj << data_random_seed( number=1 )
Description: Specifies the seed that is used for the random number generator when sampling data to construct histogram bins. "1" by default.
JMP Version Added: 19
data_sample_strategy
Syntax: obj << data_sample_strategy( "bagging"|"goss"="bagging" )
Description: Specifies the strategy for drawing samples for usage on each boosting iteration. "bagging" by default.
JMP Version Added: 19
deterministic
Syntax: obj << deterministic( state=0 )
Description: Specifies that results can be reproduced. Setting this option to true ensures stable results when using different numbers of threads for the same data samples and parameters. This option is useful for reproducibility. "0" by default.
JMP Version Added: 19
device_type
Syntax: obj << device_type( "cpu"|"gpu"="cpu" )
Description: Specifies whether to use the CPU or GPU device. "cpu" by default.
JMP Version Added: 19
drop_rate
Syntax: obj << drop_rate( number=0.1 )
Description: Specifies the fraction of previous trees to drop during the dropout for DART boosting. "0.1" by default.
JMP Version Added: 19
drop_seed
Syntax: obj << drop_seed( number=4 )
Description: Specifies the seed that is used for the dropout procedure in DART boosting. "4" by default.
JMP Version Added: 19
early_stopping_min_delta
Syntax: obj << early_stopping_min_delta( number=0 )
Description: Specifies the minimum value by which the training metric must improve on each iteration. Otherwise, the training process stops when using an early stopping round. "0" by default.
JMP Version Added: 19
early_stopping_round
Syntax: obj << early_stopping_round( number=0 )
Description: Specifies the maximum number of iterations for which to continue training while the training metric does not improve. A value of zero means no early stopping. "0" by default.
JMP Version Added: 19
enable_bundle
Syntax: obj << enable_bundle( state=1 )
Description: Specifies whether to use exclusive feature bundling. If this option is set to false, the training speed might be slow for sparse data sets. On by default.
JMP Version Added: 19
eval_at
Syntax: obj << eval_at( text=1,2,3,4,5 )
Description: Specifies the cutoff points when ranking models with either of the NDGG or MAP metrics. "1,2,3,4,5" by default.
JMP Version Added: 19
eval_metric
Syntax: obj << eval_metric( text )
Description: Specifies the metric shown in the iteration history plot but does not affect the actual model fit. Leave this value blank for the default metric corresponding to the objective function, or specify one of the following: rmse, rmsle, mae, logloss, error, error@t, merror, auc, aucpr, ndcg, map, ndcg@n, map@n, ndcg-, map-, ndcg@n-, map@n-, poisson-nloglik, gamma-nloglik, cox-nloglik, gamma-deviance, tweedie-nloglik.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( eval_metric( rmse ) ) );
extra_seed
Syntax: obj << extra_seed( number=6 )
Description: Specifies the seed that is used for selecting thresholds when the extra trees option is specified. "6" by default.
JMP Version Added: 19
extra_trees
Syntax: obj << extra_trees( state=0 )
Description: Specifies whether to use extremely randomized trees. Instead of evaluating all possible split points for each feature to find the optimal split, this option randomly selects a subset of features at each node. For each selected feature, this option randomly chooses one threshold to evaluate for the splitting node. "0" by default.
JMP Version Added: 19
fair_c
Syntax: obj << fair_c( number=1 )
Description: Specifies the parameter that controls the smoothness of the fair objective loss. "1" by default.
JMP Version Added: 19
feature_fraction
Syntax: obj << feature_fraction( number=1 )
Description: Specifies the proportion of columns to sample when constructing each tree. Sampling occurs once for each tree. This value must be between 0 and 1. "1" by default.
JMP Version Added: 19
feature_fraction_bynode
Syntax: obj << feature_fraction_bynode( number=1 )
Description: Specifies the fraction of features that are randomly selected during training. A value of 0.75 means 75% of features are randomly selected for training. "1" by default.
JMP Version Added: 19
feature_fraction_max
Syntax: obj << feature_fraction_max( number=1.0 )
Description: Specifies the maximum proportion of columns to sample when constructing each tree. Sampling occurs once for each tree. This value must be between 0 and 1. "1.0" by default.
JMP Version Added: 19
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( feature_fraction_max( 1.0 ) ) );
feature_fraction_min
Syntax: obj << feature_fraction_min( number=0.2 )
Description: Specifies the minimum proportion of columns to sample when constructing each tree. Sampling occurs once for each tree. This value must be between 0 and 1. "0.2" by default.
JMP Version Added: 19
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( feature_fraction_min( 0.2 ) ) );
feature_fraction_seed
Syntax: obj << feature_fraction_seed( number=2 )
Description: Specifies the seed that is used for the feature fraction random number generator. "2" by default.
JMP Version Added: 19
feature_pre_filter
Syntax: obj << feature_pre_filter( state=1 )
Description: Specifies whether to ignore features that are not splittable based on the specified value for minimum observations in each leaf. If this option is set to false, the training speed might be slow. On by default.
JMP Version Added: 19
feature_selector
Syntax: obj << feature_selector( "cyclic"|"shuffle"|"greedy"|"thrifty"="cyclic" )
Description: Specifies the feature selection and ordering method for the linear booster. "cyclic" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost(
Y( :Weight ),
X( :Height ),
Booster( "gblinear" ),
Fit( feature_selector( "cyclic" ) )
);
force_col_wise
Syntax: obj << force_col_wise( state=0 )
Description: Specifies whether to force columnwise histogram building. Enabling this option reduces memory cost, especially for data that have many features. This option cannot be used together with force rowwise. "0" by default.
JMP Version Added: 19
force_row_wise
Syntax: obj << force_row_wise( state=0 )
Description: "0" by default.
JMP Version Added: 19
gamma
Syntax: obj << gamma( number=0.0 )
Description: Specifies the minimum loss reduction required to make a further partition on a leaf node of the tree. "0.0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( Gamma( 0.0 ) ) );
gpu_device_id
Syntax: obj << gpu_device_id( number=-1 )
Description: Specifies the device number when using the GPU. "-1" by default.
JMP Version Added: 19
gpu_platform_id
Syntax: obj << gpu_platform_id( number=-1 )
Description: Specifies the platform number when using the GPU. "-1" by default.
JMP Version Added: 19
gpu_use_dp
Syntax: obj << gpu_use_dp( state=0 )
Description: Specifies whether to use double precision math on the GPU. "0" by default.
JMP Version Added: 19
grow_policy
Syntax: obj << grow_policy( "depthwise"|"lossguide"="depthwise" )
Description: Specifies the method used to add new nodes to trees. Currently, this option applies only when tree_method=hist. "depthwise" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( grow_policy( "depthwise" ) ) );
histogram_pool_size
Syntax: obj << histogram_pool_size( number=-1 )
Description: Specifies the maximum memory size in megabytes for the historical histogram. "-1" by default.
JMP Version Added: 19
interaction_constraints
Syntax: obj << interaction_constraints( text )
Description: Specifies feature interaction constraints as a nested list of feature indices using brackets. Features grouped together can interact only with each other.
JMP Version Added: 17
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
:Age << Set Modeling Type( "Continuous" );
dt << XGBoost(
Y( :Weight ),
X( :Age, :Height ),
Fit( interaction_constraints( "[[0,1]]" ) )
);
is_enable_sparse
Syntax: obj << is_enable_sparse( state=1 )
Description: Specifies whether to enable sparse optimization. On by default.
JMP Version Added: 19
is_unbalance
Syntax: obj << is_unbalance( state=0 )
Description: Specifies whether the training data set is unbalanced in binary and multiclass regression. "0" by default.
JMP Version Added: 19
iterations
Syntax: obj << iterations( number=30 )
Description: Specifies the number of boosting iterations. "30" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( iterations( 100 ) ) );
iterations_max
Syntax: obj << iterations_max( number=100 )
Description: Specifies the maximum number of boosting iterations. "100" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( iterations_max( 300 ) ) );
iterations_min
Syntax: obj << iterations_min( number=20 )
Description: Specifies the minimum number of boosting iterations. "20" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( iterations_min( 20 ) ) );
lambda
Syntax: obj << lambda( number=1.0 )
Description: Specifies the L2 regularization term on weights. Increasing this value makes the model more conservative. This value must be nonnegative. "1.0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( lambda( 1.0 ) ) );
lambda_l1
Syntax: obj << lambda_l1( number=0 )
Description: Specifies the L1 regularization term on weights. Increasing this value makes the model more conservative. This value must be nonnegative. "0" by default.
JMP Version Added: 19
lambda_l1_max
Syntax: obj << lambda_l1_max( number=2.0 )
Description: Specifies the maximum L1 regularization term on weights. Increasing this value makes the model more conservative. This value must be nonnegative. "2.0" by default.
JMP Version Added: 19
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( lambda_l1_max( 2.0 ) ) );
lambda_l1_min
Syntax: obj << lambda_l1_min( number=0.0 )
Description: Specifies the minimum L1 regularization term on weights. Increasing this value makes the model more conservative. This value must be nonnegative. "0.0" by default.
JMP Version Added: 19
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( lambda_l1_min( 0.0 ) ) );
lambda_l2
Syntax: obj << lambda_l2( number=0 )
Description: Specifies the L2 regularization term on weights. Increasing this value makes the model more conservative. This value must be nonnegative. "0" by default.
JMP Version Added: 19
lambda_l2_max
Syntax: obj << lambda_l2_max( number=2.0 )
Description: Specifies the maximum L2 regularization term on weights. Increasing this value makes the model more conservative. This value must be nonnegative. "2.0" by default.
JMP Version Added: 19
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( lambda_l2_max( 2.0 ) ) );
lambda_l2_min
Syntax: obj << lambda_l2_min( number=0.0 )
Description: Specifies the minimum L2 regularization term on weights. Increasing this value makes the model more conservative. This value must be nonnegative. "0.0" by default.
JMP Version Added: 19
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( lambda_l2_min( 0.0 ) ) );
lambda_max
Syntax: obj << lambda_max( number=2.0 )
Description: Specifies the maximum L2 regularization term on weights. Increasing this value makes the model more conservative. This value must be nonnegative. "2.0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( lambda_max( 2.0 ) ) );
lambda_min
Syntax: obj << lambda_min( number=0.0 )
Description: Specifies the minimum L2 regularization term on weights. Increasing this value makes the model more conservative. This value must be nonnegative. "0.0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( lambda_min( 0.0 ) ) );
lambdarank_norm
Syntax: obj << lambdarank_norm( state=1 )
Description: Specifies whether to normalize the lambdas for different queries and improve performance in unbalanced data. On by default.
JMP Version Added: 19
lambdarank_position_bias_regularization
Syntax: obj << lambdarank_position_bias_regularization( number=0 )
Description: Specifies the value that controls position information bias for the LambdaRank objective. Larger values reduce inferred position biased factors. "0" by default.
JMP Version Added: 19
lambdarank_truncation_level
Syntax: obj << lambdarank_truncation_level( number=30 )
Description: Specifies the parameter that controls the number of top results on which the model should focus during training for the LambdaRank objective. "30" by default.
JMP Version Added: 19
learning_rate
Syntax: obj << learning_rate( number=0.3 )
Description: Specifies the learning rate. Smaller learning rates tend to fit better but require more iterations to converge, whereas larger learning rates fit faster. "0.3" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( learning_rate( 0.3 ) ) );
learning_rate_max
Syntax: obj << learning_rate_max( number=0.4 )
Description: Specifies the maximum learning rate. Smaller learning rates tend to fit better but require more iterations to converge, whereas larger learning rates fit faster. "0.4" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( learning_rate_max( 0.4 ) ) );
learning_rate_min
Syntax: obj << learning_rate_min( number=0.05 )
Description: Specifies the minimum learning rate. Smaller learning rates tend to fit better but require more iterations to converge, whereas larger learning rates fit faster. "0.05" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( learning_rate_min( 0.05 ) ) );
linear_lambda
Syntax: obj << linear_lambda( number=0.0 )
Description: Specifies the regularization parameter for linear trees. "0.0" by default.
JMP Version Added: 19
linear_tree
Syntax: obj << linear_tree( state=0 )
Description: Specifies whether to fit piecewise linear gradient boosting tree. The splits are chosen in the usual manner, but the model is linear at each leaf instead of constant. "0" by default.
JMP Version Added: 19
max_bin
Syntax: obj << max_bin( number=256 )
Description: Specifies the maximum number of discrete bins into which to bucket continuous features. This option applies only for tree_method=hist. "256" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( max_bin( 256 ) ) );
max_bin_by_feature
Syntax: obj << max_bin_by_feature( text )
Description: Specifies the maximum number of bins for each feature.
JMP Version Added: 19
max_cat_threshold
Syntax: obj << max_cat_threshold( number=32 )
Description: Specifies the threshold for maximum number of unique categories to consider when splitting categorical features. Larger values result in a more exhaustive search for optimal categorical splits at the expense of longer training time. "32" by default.
JMP Version Added: 19
max_cat_to_onehot
Syntax: obj << max_cat_to_onehot( number=4 )
Description: Specifies the maximum number of categories that a categorical feature can have to use the one-vs-other split algorithm. Categorical features with more than the maximum number of categories are handled by a different algorithm. "4" by default.
JMP Version Added: 19
max_delta_step
Syntax: obj << max_delta_step( number=0.0 )
Description: Specifies the maximum delta step that each leaf output can take. "0.0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( max_delta_step( 0.0 ) ) );
max_depth
Syntax: obj << max_depth( number=6 )
Description: Specifies the maximum depth of the tree. This value must be an integer. Complexity increases as depth increases. Models with larger max_depth have a higher risk of overfitting. "6" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( max_depth( 6 ) ) );
max_depth_max
Syntax: obj << max_depth_max( number=8 )
Description: Specifies the maximum depth of tree maximum. This value must be an integer. Complexity increases as depth increases. Models with depths of 2^depth and larger have higher risk of overfitting. "8" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( max_depth_max( 9 ) ) );
max_depth_min
Syntax: obj << max_depth_min( number=1 )
Description: Specifies the maximum depth of tree minimum. This value must be an integer. Complexity increases as depth increases. Models with depths of 2^depth and larger have higher risk of overfitting. "1" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( max_depth_min( 3 ) ) );
max_drop
Syntax: obj << max_drop( number=50 )
Description: Specifies the maximum number of dropped trees on each DART boosting iteration. "50" by default.
JMP Version Added: 19
max_leaves
Syntax: obj << max_leaves( number=0 )
Description: Specifies the maximum number of nodes to be added. This option applies only for grow_policy=lossguide. "0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( max_leaves( 0 ) ) );
metric
Syntax: obj << metric( "default"|"l1"|"l2"|"rmse"|"quantile"|"mape"|"huber"|"fair"|"poisson"|"gamma"|"gamma_deviance"|"tweedie"|"ndcg"|"map"|"auc"|"average_precision"|"binary_logloss"|"binary_error"|"auc_mu"|"multi_logloss"|"multi_error"|"cross_entropy"|"cross_entropy_lambda"|"kulback_leibler"="default" )
Description: Specifies the metric that is evaluated in both training and validation sets. "default" by default.
JMP Version Added: 19
min_child_weight
Syntax: obj << min_child_weight( number=1.0 )
Description: Specifies the minimum sum of instance weight (Hessian) needed in a child. This value is the minimum size of each leaf. "1.0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( min_child_weight( 1.0 ) ) );
min_child_weight_max
Syntax: obj << min_child_weight_max( number=3.0 )
Description: Specifies the maximum sum of instance weight (Hessian) needed in a child. This value is the maximum size of each leaf. "3.0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( min_child_weight_max( 10.0 ) ) );
min_child_weight_min
Syntax: obj << min_child_weight_min( number=1.0 )
Description: Specifies the minimum sum of instance weight (Hessian) needed in a child. This value is the minimum size of each leaf. "1.0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( min_child_weight_min( 1.0 ) ) );
min_data_in_bin
Syntax: obj << min_data_in_bin( number=3 )
Description: Specifies the minimum number of observations that are included in each bin. "3" by default.
JMP Version Added: 19
min_data_in_leaf
Syntax: obj << min_data_in_leaf( number=20 )
Description: Specifies the minimum number of observations in each leaf. "20" by default.
JMP Version Added: 19
min_data_per_group
Syntax: obj << min_data_per_group( number=100 )
Description: Specifies the minimum number of observations per categorical group on categorical features. "100" by default.
JMP Version Added: 19
min_gain_to_split
Syntax: obj << min_gain_to_split( number=0 )
Description: Specifies the maximum depth of the tree. This value must be an integer. Complexity increases as depth increases. Models with larger max_depth have a higher risk of overfitting. "0" by default.
JMP Version Added: 19
min_sum_hessian_in_leaf
Syntax: obj << min_sum_hessian_in_leaf( number=0.001 )
Description: Specifies the minimum sum of instance weight (Hessian) needed in a child. This value is the minimum size of each leaf. "0.001" by default.
JMP Version Added: 19
min_sum_hessian_in_leaf_max
Syntax: obj << min_sum_hessian_in_leaf_max( number=10.0 )
Description: Specifies the maximum sum of instance weight (Hessian) needed in a child. This value is the maximum size of each leaf. "10.0" by default.
JMP Version Added: 19
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( min_sum_hessian_in_leaf_max( 10.0 ) ) );
min_sum_hessian_in_leaf_min
Syntax: obj << min_sum_hessian_in_leaf_min( number=0.5 )
Description: Specifies the minimum sum of instance weight (Hessian) needed in a child. This value is the minimum size of each leaf. "0.5" by default.
JMP Version Added: 19
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( min_sum_hessian_in_leaf_min( 0.5 ) ) );
monotone_constraints
Syntax: obj << monotone_constraints( text=None )
Description: Specifies monotonicity constraints for each feature. The constraints must be specified using a comma-separated list of values within parentheses, where -1 indicates negative, 1 indicates positive, and 0 indicates no constraint. "None" by default.
JMP Version Added: 17
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
:Age << Set Modeling Type( "Continuous" );
dt << XGBoost( Y( :Weight ), X( :Age, :Height ), Fit( monotone_constraints( "(1,1)" ) ) );
monotone_constraints_method
Syntax: obj << monotone_constraints_method( "basic"|"intermediate"|"advanced"="basic" )
Description: Specifies the method for the monotone constraint when a constraint is set to be enforced. "basic" by default.
JMP Version Added: 19
monotone_penalty
Syntax: obj << monotone_penalty( number=0 )
Description: Specifies the strictness of the monotone constraint when a constraint is set to be enforced. A specified value of K forbids any monotone splits on the first K levels of the tree. Larger values result in more penalization in the early tree building process. "0" by default.
JMP Version Added: 19
multi_error_top_k
Syntax: obj << multi_error_top_k( number=1 )
Description: Specifies the threshold for the top-k multierror metric in multiclass classification. "1" by default.
JMP Version Added: 19
neg_bagging_fraction
Syntax: obj << neg_bagging_fraction( number=1 )
Description: Specifies the value by which to adjust the process of drawing negative samples in unbalanced binary regression. "1" by default.
JMP Version Added: 19
normalize_type
Syntax: obj << normalize_type( "tree"|"forest"="tree" )
Description: Specifies the type of normalization algorithm for the DART booster. "tree" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost(
Y( :Weight ),
X( :Height ),
Booster( "dart" ),
Fit( normalize_type( "tree" ) )
);
nthread
Syntax: obj << nthread( number=0 )
Description: Specifies the number of parallel threads used to run XGBoost. By default, all available threads are used. "0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( nthread( 8 ) ) );
num_grad_quant_bins
Syntax: obj << num_grad_quant_bins( number=4 )
Description: Specifies the number of bins for the quantization gradients and Hessian matrices when using the quantized gradient. Larger values produce quantized training that is closer to full precision training. "4" by default.
JMP Version Added: 19
num_iteration_predict
Syntax: obj << num_iteration_predict( number=-1 )
Description: Specifies the number of iterations for which to make predictions. "-1" by default.
JMP Version Added: 19
num_iterations
Syntax: obj << num_iterations( number=100 )
Description: Specifies the number of boosting iterations. "100" by default.
JMP Version Added: 19
num_iterations_max
Syntax: obj << num_iterations_max( number=100 )
Description: Specifies the maximum number of boosting iterations. "100" by default.
JMP Version Added: 19
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( num_iterations_max( 100 ) ) );
num_iterations_min
Syntax: obj << num_iterations_min( number=20 )
Description: Specifies the minimum number of boosting iterations. "20" by default.
JMP Version Added: 19
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( num_iterations_min( 20 ) ) );
num_leaves
Syntax: obj << num_leaves( number=31 )
Description: Specifies the maximum number of leaves on each tree. "31" by default.
JMP Version Added: 19
num_parallel_tree
Syntax: obj << num_parallel_tree( number=1 )
Description: Specifies the number of boosted trees to grow in parallel. Then the results are averaged. "1" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( num_parallel_tree( 1 ) ) );
num_threads
Syntax: obj << num_threads( number=0 )
Description: Specifies the number of threads. For the best speed, set this to the number of core CPUs. "0" by default.
JMP Version Added: 19
objective
Syntax: obj << objective( "reg:squarederror"|"binary:logistic"|"binary:hinge"|"count:poisson"|"multi:softprob"|"rank:pairwise"|"rank:ndcg"|"rank:map"|"reg:gamma"|"reg:logistic"|"reg:pseudohubererror"|"reg:squaredlogerror"|"reg:tweedie"|"survival:cox"="reg:squarederror" )
Description: Specifies the function to be optimized for model fitting. The function must be consistent with the modeling type of the response. "reg:squarederror" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), objective( "reg:squarederror" ) );
objective_seed
Syntax: obj << objective_seed( number=5 )
Description: Specifies the seed that is used in the random number generator for the objective parameter. "5" by default.
JMP Version Added: 19
one_drop
Syntax: obj << one_drop( number=0 )
Description: When this flag is enabled in the DART booster, at least one tree is always dropped during the dropout. "0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( booster( "dart" ), one_drop( 0 ) ) );
other_rate
Syntax: obj << other_rate( number=0.1 )
Description: Specifies the retain ratio of small gradient data for the GOSS data sampling strategy. "0.1" by default.
JMP Version Added: 19
path_smooth
Syntax: obj << path_smooth( number=0 )
Description: "0" by default.
JMP Version Added: 19
poisson_max_delta_step
Syntax: obj << poisson_max_delta_step( number=0.7 )
Description: Specifies a value that serves to limit the maximum prediction contribution of leaves for the Poisson model. "0.7" by default.
JMP Version Added: 19
pos_bagging_fraction
Syntax: obj << pos_bagging_fraction( number=1 )
Description: Specifies the value by which to adjust the process of drawing positive samples in unbalanced binary regression. "1" by default.
JMP Version Added: 19
pred_early_stop
Syntax: obj << pred_early_stop( state=0 )
Description: Specifies whether to enforce prediction early stopping in classification and ranking applications. If this option is set to true, prediction can be faster, but accuracy might be affected. "0" by default.
JMP Version Added: 19
pred_early_stop_freq
Syntax: obj << pred_early_stop_freq( number=10 )
Description: Specifies the frequency of checking prediction early stopping when prediction early stopping is specified. "10" by default.
JMP Version Added: 19
pred_early_stop_margin
Syntax: obj << pred_early_stop_margin( number=10 )
Description: Specifies the threshold margin in prediction early stopping when prediction early stopping is specified. This parameter enables the prediction process to stop early if the margin is far enough from the threshold. "10" by default.
JMP Version Added: 19
predict_disable_shape_check
Syntax: obj << predict_disable_shape_check( state=0 )
Description: Specifies whether to raise the error when predicting on data that have different numbers of features than the training data. "0" by default.
JMP Version Added: 19
predictor
Syntax: obj << predictor( "auto"|"cpu_predictor"|"gpu_predictor"="auto" )
Description: Specifies the type of predictor algorithm. "auto" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( predictor( "cpu_predictor" ) ) );
process_type
Syntax: obj << process_type( "default"|"update"="default" )
Description: Specifies the type of boosting process to run. "default" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( process_type( "default" ) ) );
quant_train_renew_leaf
Syntax: obj << quant_train_renew_leaf( state=0 )
Description: Specifies whether to renew the leaf values with original gradients when quantized training is in effect. This option can improve the accuracy of the ranking objectives in quantized training. "0" by default.
JMP Version Added: 19
rate_drop
Syntax: obj << rate_drop( number=0.0 )
Description: Specifies the dropout rate for the DART booster. "0.0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( booster( "dart" ), rate_drop( 0.0 ) ) );
refresh_leaf
Syntax: obj << refresh_leaf( number=1 )
Description: Specifies the parameter of the refresh updater. If set to 1, leaves and nodes updated. If set to 0, only nodes are updated. "1" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( refresh_leaf( 1 ) ) );
reg_sqrt
Syntax: obj << reg_sqrt( state=0 )
Description: Specifies whether to fit the square root of the response variable rather than the original values for regression models. "0" by default.
JMP Version Added: 19
sample_type
Syntax: obj << sample_type( "uniform"|"weighted"="uniform" )
Description: Specifies the type of sampling algorithm for the DART booster. "uniform" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost(
Y( :Weight ),
X( :Height ),
Booster( "dart" ),
Fit( sample_type( "uniform" ) )
);
scale_pos_weight
Syntax: obj << scale_pos_weight( number=1.0 )
Description: Specifies the balance of positive and negative weights, which are useful for unbalanced classes. A typical value to consider is sum(negative instances) / sum(positive instances). "1.0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( scale_posweight( 1.0 ) ) );
seed
Syntax: obj << seed( number=0 )
Description: Specifies the seed for the random number generator. Set this value for reproducibility of the results. "0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( seed( 0 ) ) );
sigmoid
Syntax: obj << sigmoid( number=1 )
Description: Specifies the parameter for the sigmoid function in binary and multiclass models. "1" by default.
JMP Version Added: 19
sketch_eps
Syntax: obj << sketch_eps( number=0.03 )
Description: Used only for tree_method=approx, this value approximately translates into (1 / sketch_eps) = number of bins. "0.03" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( sketch_eps( 0.03 ) ) );
skip_drop
Syntax: obj << skip_drop( number=0.0 )
Description: Specifies the probability of skipping the dropout procedure during a DART boosting iteration. "0.0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( booster( "dart" ), skip_drop( 0.0 ) ) );
start_iteration_predict
Syntax: obj << start_iteration_predict( number=0 )
Description: Specifies the starting iteration for which to make predictions. "0" by default.
JMP Version Added: 19
stochastic_rounding
Syntax: obj << stochastic_rounding( state=1 )
Description: Specifies whether to use stochastic rounding in gradient quantization. On by default.
JMP Version Added: 19
subsample
Syntax: obj << subsample( number=1.0 )
Description: Specifies the proportion of rows to sample during each iteration. This value must be between 0 and 1. This is a type of bagging. "1.0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( subsample( 1.0 ) ) );
subsample_max
Syntax: obj << subsample_max( number=1.0 )
Description: Specifies the maximum proportion of rows to sample during each iteration. This value must be between 0 and 1. This is a type of bagging. "1.0" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( subsample_max( 1.0 ) ) );
subsample_min
Syntax: obj << subsample_min( number=0.5 )
Description: Specifies the minimum proportion of rows to sample during each iteration. This value must be between 0 and 1. This is a type of bagging. "0.5" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( subsample_min( 0.3 ) ) );
top_k
Syntax: obj << top_k( number=256 )
Description: Specifies the number of top features to select in greedy and thrifty feature selector. This option applies only for the gblinear booster. "256" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( booster( "gblinear" ), top_k( 0 ) ) );
top_rate
Syntax: obj << top_rate( number=0.2 )
Description: Specifies the retain ratio of large gradient data for the GOSS data sampling strategy. "0.2" by default.
JMP Version Added: 19
tree_method
Syntax: obj << tree_method( "auto"|"exact"|"approx"|"hist"|"gpu_exact"|"gpu_hist"="auto" )
Description: Specifies the tree construction algorithm used in XGBoost. "auto" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( tree_method( "auto" ) ) );
tweedie_variance_power
Syntax: obj << tweedie_variance_power( number=1.5 )
Description: Specifies the power of the Tweedie distribution. This value must be between 1 and 2. This option applies only for objective=reg:tweedie. "1.5" by default.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost(
Y( :Weight ),
X( :Height ),
Fit( objective( "reg:tweedie" ), tweedie_variance_power( 1.5 ) )
);
uniform_drop
Syntax: obj << uniform_drop( state=0 )
Description: Specifies whether to select trees for dropping in DART boosting using uniform probability. "0" by default.
JMP Version Added: 19
updater
Syntax: obj << updater( text )
Description: Specifies the tree updater to run for the gbtree booster. Specify one of the following: grow_colmaker, distcol, grow_histmaker, grow_local_histmaker, grow_skmaker, sync, refresh, prune. For the gblinear booster, specify either shotgun or coord_descent.
JMP Version Added: 15
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << XGBoost( Y( :Weight ), X( :Height ), Fit( updater( "grow_colmaker" ) ) );
use_missing
Syntax: obj << use_missing( state=1 )
Description: Specifies whether to enforce special handling of missing values. On by default.
JMP Version Added: 19
use_quantized_grad
Syntax: obj << use_quantized_grad( state=0 )
Description: Specifies whether to use gradient quantization when training. Enabling this option discretizes the gradients and Hessian matrices into bins, which can accelerate training with little loss in accuracy in most cases. "0" by default.
JMP Version Added: 19
xgboost_dart_mode
Syntax: obj << xgboost_dart_mode( state=0 )
Description: Specifies whether to use XGBoost DART mode. "0" by default.
JMP Version Added: 19
zero_as_missing
Syntax: obj << zero_as_missing( state=0 )
Description: Specifies whether to treat all zero values as missing values. "0" by default.
JMP Version Added: 19