> 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/extracting-transforming-and-selecting-features.md).

# Extracting, transforming and selecting features

### Extracting, transforming and selecting features

#### Extraction: Extracting features from “raw” data

[TF-IDF](https://app.gitbook.com/@george-jen/s/data-science-and-apache-spark/~/drafts/-M2lOjqK3WKAuFV7Ez4t/untitled-112)

[Word2Vec](/data-science-and-apache-spark/word2vec.md)

[CountVectorizer](broken://pages/-M1YRGDO47b0ZvVbl4kC)

[FeatureHasher](/data-science-and-apache-spark/featurehasher.md)

#### Transformation: Scaling, converting, or modifying features

[Tokenizer](/data-science-and-apache-spark/tokenizer.md)&#x20;

[StopWordsRemover ](/data-science-and-apache-spark/stopwordremover.md)

[n-gram](/data-science-and-apache-spark/n-gram.md)

[Binarizer](/data-science-and-apache-spark/binarizer.md)

[PCA](/data-science-and-apache-spark/pca.md)

[PolynomialExpansion](/data-science-and-apache-spark/polynomialexpansion.md)

[Discrete Cosine Transform (DCT)](/data-science-and-apache-spark/discrete-cosine-transform-dct.md)

[StringIndexer](/data-science-and-apache-spark/stringindexer.md)

[IndexToString](/data-science-and-apache-spark/indextostring.md)

[OneHotEncoder ](/data-science-and-apache-spark/one-hot-encoding.md)(Deprecated since 2.3.0)

[OneHotEncoderEstimator](/data-science-and-apache-spark/one-hot-encoding.md)

[VectorIndexer](/data-science-and-apache-spark/vectorindexer.md)

[Interaction](/data-science-and-apache-spark/interaction.md)

[Normalizer](/data-science-and-apache-spark/normalizer.md)

[StandardScaler](/data-science-and-apache-spark/standardscaler.md)

[MinMaxScaler](/data-science-and-apache-spark/minmaxscaler.md)

[MaxAbsScaler](/data-science-and-apache-spark/maxabscaler.md)

[Bucketizer](/data-science-and-apache-spark/bucketizer.md)

[ElementwiseProduct](/data-science-and-apache-spark/elementwiseproduct.md)

[SQLTransformer](/data-science-and-apache-spark/sqltransformer.md)

[VectorAssembler](/data-science-and-apache-spark/vectorassembler.md)

[VectorSizeHint](/data-science-and-apache-spark/vectorsizehint.md)

[QuantileDiscretizer](/data-science-and-apache-spark/quantilediscretizer.md)

[Imputer](/data-science-and-apache-spark/imputer.md)

**Selection: Selecting a subset from a larger set of features**

[VectorSlicer](/data-science-and-apache-spark/vectorslicer.md)

[ChiSqSelector](/data-science-and-apache-spark/chisqselector.md)

[RFormula](/data-science-and-apache-spark/rformula.md)

[Locality Sensitive Hashing](/data-science-and-apache-spark/locality-sensitive-hashing.md)&#x20;

[MinHash for Jaccard Distance](/data-science-and-apache-spark/minhash-for-jaccard-distance.md)
