11
$\begingroup$

Using ExampleData, we can extract data for Machine Learning, Sound and others. From the reference of the Wolfram Language, I can see a full list of types of data, like machine learning, dataset, audio, etc. But where can I see what data can I extract for every type?

$\endgroup$
3
  • 1
    $\begingroup$ See answer for ExampleData menu view $\endgroup$
    – Bob Hanlon
    Commented Aug 10, 2016 at 20:42
  • $\begingroup$ ExampleData /@ ExampleData[]. If you have time to kill: Scan[Echo, Flatten[ExampleData /@ ExampleData[], 1]] $\endgroup$ Commented Aug 10, 2016 at 21:59
  • $\begingroup$ Awesome! Thanks for the useful link $\endgroup$ Commented Aug 11, 2016 at 7:26

1 Answer 1

14
$\begingroup$

Get the categories of example data:

ExampleData[]
(* {"AerialImage", "Audio", "ColorTexture", "Dataset", \
"Geometry3D", "LinearProgramming", "MachineLearning", "Matrix", \
"NetworkGraph", "Sound", "Statistics", "TestAnimation", "TestImage", \
"TestImage3D", "TestImageSet", "Text", "Texture"} *)

Get the available data in one category:

ExampleData["MachineLearning"]
(* {{"MachineLearning", "BostonHomes"}, {"MachineLearning", 
  "FisherIris"}, {"MachineLearning", "MNIST"}, {"MachineLearning", 
  "MovieReview"}, {"MachineLearning", "Mushroom"}, {"MachineLearning",
   "Satellite"}, {"MachineLearning", "Titanic"}, {"MachineLearning", 
  "UCILetter"}, {"MachineLearning", "WineQuality"}} *)

Get available properties of one dataset:

ExampleData[{"MachineLearning", "BostonHomes"}, "Properties"]
(* {"Data", "Description", "Data", "Dimensions", \
"LearningTask", "LongDescription", "MissingData", "Name", "Source", \
"TestData", "TrainingData", "VariableDescriptions", "VariableTypes"} *)
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.