# tClassify

Availability-note[Deprecated](https://help.talend.com/r/en-US/Cloud/labels-on-talend-help-center/availability-deprecated)

This content is deprecated.

Information noteDeprecation: This component is deprecated since the 6.2 General Availability release. Talend recommends you to use the tPredict component.

Predicts which class an element belongs to, based on the classifier model generated by a model training component.

tClassify uses a given classifier model to analyze datasets incoming from its preceding component in order to classify the elements in the datasets.

In local mode, Apache Spark 1.6.0 and later versions are supported.

For more technologies supported by Talend, see [Talend components](https://help.qlik.com/talend/r/en-US/7.3/components/machine-learning).

Depending on the Talend product you are using, this component can be used in one, some or all of the following Job frameworks:

* Spark Batch: see [tClassify properties for Apache Spark Batch](https://help.qlik.com/talend/en-US/components/7.3/machine-learning/tclassify-properties-for-apache-spark-batch).

  The component in this framework is available in all Talend Platform products with Big Data and in Talend Data Fabric.

* Spark Streaming: see [tClassify properties for Apache Spark Streaming](https://help.qlik.com/talend/en-US/components/7.3/machine-learning/tclassify-properties-for-apache-spark-streaming).

  This component is available in Talend Real Time Big Data Platform and Talend Data Fabric.

### In this section

* [tClassify properties for Apache Spark Batch](https://help.qlik.com/talend/en-US/components/7.3/machine-learning/tclassify-properties-for-apache-spark-batch)
* [tClassify properties for Apache Spark Streaming](https://help.qlik.com/talend/en-US/components/7.3/machine-learning/tclassify-properties-for-apache-spark-streaming)

**Related concepts**

[Creating a classification model to filter spam](https://help.qlik.com/talend/en-US/components/7.3/machine-learning/classification-model)