# 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](word2vec)

[CountVectorizer](broken-reference)

[FeatureHasher](featurehasher)

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

[Tokenizer](tokenizer)&#x20;

[StopWordsRemover ](stopwordremover)

[n-gram](n-gram)

[Binarizer](binarizer)

[PCA](pca)

[PolynomialExpansion](polynomialexpansion)

[Discrete Cosine Transform (DCT)](discrete-cosine-transform-dct)

[StringIndexer](stringindexer)

[IndexToString](indextostring)

[OneHotEncoder ](one-hot-encoding)(Deprecated since 2.3.0)

[OneHotEncoderEstimator](one-hot-encoding)

[VectorIndexer](vectorindexer)

[Interaction](interaction)

[Normalizer](normalizer)

[StandardScaler](standardscaler)

[MinMaxScaler](minmaxscaler)

[MaxAbsScaler](maxabscaler)

[Bucketizer](bucketizer)

[ElementwiseProduct](elementwiseproduct)

[SQLTransformer](sqltransformer)

[VectorAssembler](vectorassembler)

[VectorSizeHint](vectorsizehint)

[QuantileDiscretizer](quantilediscretizer)

[Imputer](imputer)

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

[VectorSlicer](vectorslicer)

[ChiSqSelector](chisqselector)

[RFormula](rformula)

[Locality Sensitive Hashing](locality-sensitive-hashing)&#x20;

[MinHash for Jaccard Distance](minhash-for-jaccard-distance)
