DimensionReduce

DimensionReduce[{example1,example2,}]

projects the examples examplei to a lower-dimensional approximating manifold.

DimensionReduce[examples,n]

projects onto an approximating manifold in n-dimensional space.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Reduce the dimension of vectors:

Specify that the target dimension should be 1:

Reduce the dimension of a mixed-type dataset:

Scope  (6)

Create and visualize random 3D vectors:

Visualize this dataset reduced to two dimensions:

Reduce the dimension of a dataset of images:

Reduce the dimension of textual data:

Reduce the dimension of a list of DateObject:

Reduce the dimension of a mixed-type dataset:

Reduce the dimension of a list of associations:

Options  (6)

FeatureExtractor  (1)

Reduce the dimension of texts preprocessed by custom functions and an extractor method:

FeatureTypes  (1)

Reduce the dimension of a simple dataset:

The first feature has been interpreted as numerical. Use FeatureTypes to enforce the interpretation of the first feature as nominal:

Method  (2)

Reduce the dimension of the Fisher iris dataset using the t-SNE method:

Visualize the reduced dataset:

Perform the same operation using a different perplexity value:

Reduce the dimension of some images using the auto-encoder method:

Visualize the reduced dataset:

PerformanceGoal  (1)

Load the MNIST dataset:

Reduce the dimension of the images data with the setting PerformanceGoal"Quality" and measure the training time:

Perform the same operation using PerformanceGoal"Speed":

Visualize the results:

TargetDevice  (1)

Reduce the dimension of vectors using a fully connected "AutoEncoder" on the system's default GPU and look at its AbsoluteTiming:

Compare the previous timing with the one obtained by using the default CPU computation:

Applications  (1)

Dataset Visualization  (1)

Load the Fisher iris dataset from ExampleData:

Reduce the dimension of the features:

Group the examples by their species:

Visualize the reduced dataset:

Wolfram Research (2015), DimensionReduce, Wolfram Language function, https://reference.wolfram.com/language/ref/DimensionReduce.html (updated 2018).

Text

Wolfram Research (2015), DimensionReduce, Wolfram Language function, https://reference.wolfram.com/language/ref/DimensionReduce.html (updated 2018).

CMS

Wolfram Language. 2015. "DimensionReduce." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2018. https://reference.wolfram.com/language/ref/DimensionReduce.html.

APA

Wolfram Language. (2015). DimensionReduce. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DimensionReduce.html

BibTeX

@misc{reference.wolfram_2024_dimensionreduce, author="Wolfram Research", title="{DimensionReduce}", year="2018", howpublished="\url{https://reference.wolfram.com/language/ref/DimensionReduce.html}", note=[Accessed: 26-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_dimensionreduce, organization={Wolfram Research}, title={DimensionReduce}, year={2018}, url={https://reference.wolfram.com/language/ref/DimensionReduce.html}, note=[Accessed: 26-December-2024 ]}