ExampleData
ExampleData["type"]
gives a list of names of examples of the specified type.
ExampleData[{"type","name"}]
gives the default form of the named example of the specified type.
ExampleData[{"type","name"},"elem"]
gives the specified element or property of an example.
Details
- Typical types include:
-
"AerialImage" sample aerial photography image "Audio" sample audio clips "ColorTexture" sample color texture "Dataset" sample structured dataset "Geometry3D" 3D geometry data for models and shapes "LinearProgramming" linear programming problem "MachineLearning" machine learning training and testing data "Matrix" sparse or dense matrix "NetworkGraph" empirical graphs and networks "Sound" sample audio clips "Statistics" statistical datasets "TestAnimation" test animation for image processing "TestImage" test image for image processing "TestImage3D" test 3D volume for image processing "TestImageSet" test image collections "Text" sample text piece "Texture" sample texture - ExampleData[{"type","name"},"Properties"] gives a list of the elements or properties available for a particular example.
- In addition to elements specific to the content of an example, the following properties are typically included:
-
"Image" basic visual representation of the example "Name" English name - ExampleData[] gives a list of names of types of examples.
Examples
open allclose allBasic Examples (4)
Scope (42)
Image Data (8)
3D Geometry (3)
Numerical Data (5)
Statistical Data (6)
Find the first 10 statistical datasets available:
List of available properties for a dataset:
The first 5 rows of this dataset contain brain and body weights of various animals:
Alternatively, use the "DataElements" property:
Column types are either "Numeric" or "Categorical":
Description for Old Faithful dataset:
Dimension and number of observations for the dataset:
Create a SmoothHistogram of a dataset:
Compute descriptive statistics of numerical entries:
Calculate Mean and StandardDeviation for each characteristic:
Text (8)
Audio (3)
Applications (5)
Text
Wolfram Research (2007), ExampleData, Wolfram Language function, https://reference.wolfram.com/language/ref/ExampleData.html (updated 2016).
CMS
Wolfram Language. 2007. "ExampleData." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/ExampleData.html.
APA
Wolfram Language. (2007). ExampleData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ExampleData.html