10
$\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
    Aug 10 '16 at 20:42
  • $\begingroup$ ExampleData /@ ExampleData[]. If you have time to kill: Scan[Echo, Flatten[ExampleData /@ ExampleData[], 1]] $\endgroup$ Aug 10 '16 at 21:59
  • $\begingroup$ Awesome! Thanks for the useful link $\endgroup$ Aug 11 '16 at 7:26
12
$\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, privacy policy and cookie policy

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