# Function for making predictions from trained ExtraTree object.

### Description

This function makes predictions for regression/classification using the given trained ExtraTree object and provided input matrix (newdata).

### Usage

1 2 |

### Arguments

`object` |
extraTree (S3) object, created by extraTrees(). |

`newdata` |
a new numberic input data matrix, for each row a prediction is made. |

`quantile` |
the quantile value between 0.0 and 1.0 for quantile regression, or NULL (default) for standard predictions. |

`allValues` |
whether or not to return outputs of all trees (default FALSE). |

`probability` |
whether to return a matrix of class (factor) probabilities, default FALSE. Can only be used in the case of classification. Calculated as the proportion of trees voting for particular class. |

`newtasks` |
list of tasks, for each input in newdata (default NULL). Must be NULL if no multi-task learning was used at training. |

`...` |
not used currently. |

### Value

The vector of predictions from the ExtraTree et. The length of the vector is equal to the the number of rows in newdata.

### Author(s)

Jaak Simm

### Examples

1 2 3 4 5 6 7 |