List of built-in data sets, please
51 次查看(过去 30 天)
显示 更早的评论
It would be great if Matlab documentation included a list of built-in data sets. This question has been asked before (2012, 2013, 2014, on statckoverflow) with at least 2200 views in the past 30 days but still I cannot find such a list.
The Statistics and Machine Learning Toolbox provides such a list as does the Econometrics Toolbox and the Deep Learning Toolbox.
The built-in mat files can be found within the matlabroot (see line of code below) but a list provided in the documentation would be helpful because...
- The built-in data sets aren't just in 1 folder; they are distributed across many folders - some folders that we may not think to look in
- It's best for users to avoid poking around in the root directories anyway
- Not all mat files in the root directories are example data sets so a function that scrapes mat files from root directories isn't efficient
- A documented list makes it easy to quickly recall a file name to a data set we are already familiar with
- Quickly accessing built-in data makes it easy to test ideas rather than having to generate a fake data set
- With a documented list, we can become more familiar with data sets provided by Matlab instead of discovering them after years of daily Matlab use
- In the future, we can reference archived documentation to determine when a data set became available
winopen(fullfile(matlabroot,'toolbox','matlab','demos'))
Who do we need to lobby to get this list in the official documentation?
2 个评论
Rik
2019-11-13
Wouldn't it make more sense to post this comment as an answer? That way there is less likelihood of this list being burried under the comments. And is the idea to only add base Matlab data files, or also from different toolboxes?
采纳的回答
Josh Meyer
2021-9-23
编辑:Josh Meyer
2021-9-23
In R2021b, there is now a documentation page with a selection of useful data sets that are in MATLAB:
0 个评论
更多回答(3 个)
Wendy Fullam
2019-11-25
Just a side note that this request has also been shared with our documentation team for consideration on how to make this easier, going forward.
Steven Lord
2019-11-13
What do you consider a data set?
The census MAT-file in toolbox/matlab/demos (used here among other places) seems like it's obviously a data set. So does outages.csv (used here.)
Are peppers.png and ngc6543a.jpg (used here) also data sets? They're image data, "peppers" appearing on 38 pages in the documentation for MATLAB and 61 times in Image Processing Toolbox. "ngc6543a" occurs less frequently, but still on 19 pages in the documentation for MATLAB.
Does the peaks function (often used in examples to create a simple piece of data to visualize as a surface plot) count as data or code? What about the functions that generate the predefined colormaps or the gallery function?
You can submit an enhancement request to Technical Support asking for such a list to be added to the documentation for one or more products. It would be useful to include in that enhancement request what constitutes a data set in your mind and what information about each data set you'd expect to see in such a list.
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!