Algorithm Input

An algorithm can accept one or several numeric tables or models as an input. In computation modes that permit multiple calls to the compute() method, ensure that the structure of the input data, that is, the number of features, their order, and type, is the same for all the calls. The following methods are available to provide input to an algorithm:

input.set(Input ID, InputData)

Use to set a pointer to the input argument with the Input ID identifier. This method overwrites the previous input pointer stored in the algorithm.

input.add(Input ID, InputData)

Use in the distributed computation mode to add the pointers with the Input ID identifier. Unlike the input.set() method, input.add() does not overwrite the previously set input pointers, but stores all the input pointers until the compute() method is called.

input.get(Input ID)

Use to get a reference to the pointer to the input data with the Input ID identifier.

For the input that each specific algorithm accepts, refer to the description of this algorithm.

For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)