API Reference

Documentation for the OptimalTrees public interface.




Permissible types for specifying set of features in a dataframe. Refer to Indexing in DataFrames.jl for a full list of supported rules:

Input TypeDescriptionExamples
AllUse all columnsAll()
Integer or a vector of IntegersSpecify indices of columns to use1, [1, 3, 4]
Symbol or a vector of SymbolsSpecify names of columns to use:x1, [:x1, :x3]
String or a vector of StringsSpecify names of columns to use"x1", ["x1", "x3"]
NotSpecify columns not to useNot(1), Not(["x2", "x4"])
BetweenSpecify range of columns to useBetween("x1", "x4")