> For the complete documentation index, see [llms.txt](https://george-jen.gitbook.io/data-science-and-apache-spark/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://george-jen.gitbook.io/data-science-and-apache-spark/ml-estimator.md).

# ML Estimator

### Estimator:

An Estimator is an algorithm which can be fit on a DataFrame to produce a Transformer. E.g., a learning algorithm is an Estimator which trains on a DataFrame and produces a model.

![](https://2100080250-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1PNTHVApkPePuMdTu3%2F-M2l4NvDmy2BfmmEg-4P%2F-M2lOjQDEWKQbYUN4J-e%2Fml_estimator.jpg?alt=media\&token=ea8f8fdd-32e2-4930-9c46-16211a3e8e65)

Keyword of an estimator is method ***fit***&#x20;
