Data set: Difference between revisions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Update url
imported>Authnote
fixed sources
 
Line 4: Line 4:
A '''data set''' (or '''dataset''') is a collection of [[data]]. In the case of [[tabular data]], a data set corresponds to one or more [[table (database)|database tables]], where every [[column (database)|column]] of a table represents a particular [[Variable (computer science)|variable]], and each [[row (database)|row]] corresponds to a given [[Record (computer science)|record]] of the data set in question. The data set lists values for each of the variables, such as for example height and weight of an object, for each member of the data set.  Data sets can also consist of a collection of documents or files.<ref name="Editorial">{{cite journal | last1 = Snijders | first1 = C. | last2 = Matzat | first2 = U. | last3 = Reips | first3 = U.-D. | year = 2012 | title = 'Big Data': Big gaps of knowledge in the field of Internet | url = http://www.ijis.net/ijis7_1/ijis7_1_editorial.html | journal = International Journal of Internet Science | volume = 7 | pages = 1–5 | access-date = 2017-02-10 | archive-date = 2019-11-23 | archive-url = https://web.archive.org/web/20191123051001/http://www.ijis.net/ijis7_1/ijis7_1_editorial.html | url-status = dead }}</ref>
A '''data set''' (or '''dataset''') is a collection of [[data]]. In the case of [[tabular data]], a data set corresponds to one or more [[table (database)|database tables]], where every [[column (database)|column]] of a table represents a particular [[Variable (computer science)|variable]], and each [[row (database)|row]] corresponds to a given [[Record (computer science)|record]] of the data set in question. The data set lists values for each of the variables, such as for example height and weight of an object, for each member of the data set.  Data sets can also consist of a collection of documents or files.<ref name="Editorial">{{cite journal | last1 = Snijders | first1 = C. | last2 = Matzat | first2 = U. | last3 = Reips | first3 = U.-D. | year = 2012 | title = 'Big Data': Big gaps of knowledge in the field of Internet | url = http://www.ijis.net/ijis7_1/ijis7_1_editorial.html | journal = International Journal of Internet Science | volume = 7 | pages = 1–5 | access-date = 2017-02-10 | archive-date = 2019-11-23 | archive-url = https://web.archive.org/web/20191123051001/http://www.ijis.net/ijis7_1/ijis7_1_editorial.html | url-status = dead }}</ref>


In the [[open data]] discipline, a dataset is a unit used to measure the amount of information released in a public open data repository.  The European [[data.europa.eu]] portal aggregates more than a million data sets.<ref>{{Cite web|url=http://www.europeandataportal.eu/data/en/dataset|title=European open data portal|website=European open data portal|publisher=European Commission|access-date=2016-09-23}}</ref>
In the [[open data]] discipline, a data set is a unit used to measure the amount of information released in a public open data repository.  The European [[data.europa.eu]] portal aggregates more than a million data sets.<ref name=":0">{{Cite web |title=European open data portal |url=http://www.europeandataportal.eu/data/en/dataset |access-date=2025-10-05 |website=European open data portal |publisher=European Commission}}</ref>


==Properties==
==Properties==
Several characteristics define a data set's structure and properties.  These include the number and types of the attributes or variables, and various [[statistical measure]]s applicable to them, such as [[standard deviation]] and [[kurtosis]].<ref>{{Cite book |url=https://books.google.com/books?id=uTzeRZFmaBgC&pg=PA100 |title=Principles of data mining and knowledge discovery |author=Jan M. Żytkow, Jan Rauch |isbn=978-3-540-66490-1 |year=2000|publisher=Springer }}</ref>
Several characteristics define a data set's structure and properties.  These include the number and types of the attributes or variables, and various [[statistical measure]]s applicable to them, such as [[standard deviation]] and [[kurtosis]].<ref name=":1">{{Cite book |url=https://books.google.com/books?id=uTzeRZFmaBgC&pg=PA100 |title=Principles of data mining and knowledge discovery |author=Jan M. Żytkow, Jan Rauch |isbn=978-3-540-66490-1 |year=2000|publisher=Springer }}</ref>


The values may be numbers, such as [[real number]]s or [[integer]]s, for example representing a person's height in centimeters, but may also be [[nominal data]] (i.e., not consisting of [[Number|numerical]] values), for example representing a person's ethnicity. More generally, values may be of any of the kinds described as a [[level of measurement]]. For each variable, the values are normally all of the same kind. [[Missing values]] may exist, which must be indicated somehow.
The values may be numbers, such as [[real number]]s or [[integer]]s, for example representing a person's height in centimeters, but may also be [[nominal data]] (i.e., not consisting of [[Number|numerical]] values), for example representing a person's ethnicity. More generally, values may be of any of the kinds described as a [[level of measurement]]. For each variable, the values are normally all of the same kind. [[Missing values]] may exist, which must be indicated somehow.


In [[statistics]], data sets usually come from actual observations obtained by [[sampling (statistics)|sampling]] a [[statistical population]], and each row corresponds to the observations on one element of that population. Data sets may further be generated by [[algorithms]] for the purpose of testing certain kinds of [[software]].  Some modern statistical analysis software such as [[SPSS]] still present their data in the classical data set fashion.  If data is missing or suspicious an [[imputation (statistics)|imputation]] method may be used to complete a data set.<ref name="sde">{{cite book |title=Statistical Data Editing: Impact on Data Quality: Volume 3 of Statistical Data Editing, Conference of European Statisticians Statistical standards and studies |author=United Nations Statistical Commission |author2=United Nations Economic Commission for Europe |year=2007 |publisher=United Nations Publications |isbn=978-9211169522 |page=20 |url=https://unece.org/DAM/stats/publications/editing/SDE3.pdf }}</ref>
In [[statistics]], data sets usually come from actual observations obtained by [[sampling (statistics)|sampling]] a [[statistical population]], and each row corresponds to the observations on one element of that population. Data sets may further be generated by [[algorithms]] for the purpose of testing certain kinds of [[software]].  Some modern statistical analysis software such as [[SPSS]] still present their data in the classical data set fashion.  If data is missing or suspicious an [[imputation (statistics)|imputation]] method may be used to complete a data set.<ref name="sde">{{cite book |title=Statistical Data Editing: Impact on Data Quality: Volume 3 of Statistical Data Editing, Conference of European Statisticians Statistical standards and studies |author=United Nations Statistical Commission |author2=United Nations Economic Commission for Europe |year=2007 |publisher=United Nations Publications |isbn=978-9211169522 |page=20 |url=https://unece.org/DAM/stats/publications/editing/SDE3.pdf }}</ref>
== Applications and use cases ==
Data sets are widely used across various fields to support data analysis, research, and decision-making. In the sciences, data sets provide the empirical foundation for studies in disciplines such as [[biology]], [[physics]], and [[social science]], enabling discoveries in medicine, environmental science, and social research. In [[machine learning]] and [[artificial intelligence]], data sets are essential for training, validating, and testing algorithms for tasks such as image recognition, natural language processing, and predictive modeling. Governments and organizations publish open data sets to promote transparency, inform policy-making, and facilitate urban and social planning. The business sector uses data sets for market analysis, customer segmentation, and operational improvements. Additionally, healthcare relies on data sets for clinical research and improving patient outcomes. These varied applications demonstrate the critical role data sets play in enabling evidence-based insights and driving technological progress.


== Classics ==
== Classics ==
Several classic data sets have been used extensively in the [[statistical]] literature:
Several classic data sets have been used extensively in the [[statistical]] literature:


* [[Iris flower data set]] – Multivariate data set introduced by [[Ronald Fisher]] (1936).<ref name="fisher36">{{cite journal|author=Fisher, R.A.|title=The Use of Multiple Measurements in Taxonomic Problems|journal=[[Annals of Eugenics]]|volume=7|pages=179&ndash;188|year=1963|issue=2|url=http://digital.library.adelaide.edu.au/coll/special//fisher/138.pdf|doi=10.1111/j.1469-1809.1936.tb02137.x|hdl=2440/15227|hdl-access=free|access-date=2007-05-22|archive-date=2011-09-28|archive-url=https://web.archive.org/web/20110928044802/http://digital.library.adelaide.edu.au/coll/special//fisher/138.pdf|url-status=dead}}</ref> [https://archive.ics.uci.edu/ml/datasets/Iris Provided online by University of California-Irvine Machine Learning Repository].<ref>{{cite web |url=https://archive.ics.uci.edu/ml/datasets/Iris |title=UCI Machine Learning Repository: Iris Data Set |access-date=2023-05-02 |url-status=live |archive-url=https://web.archive.org/web/20230426065109/https://archive.ics.uci.edu/ml/datasets/Iris |archive-date=2023-04-26}}</ref>
* [[Iris flower data set]] – Multivariate data set introduced by [[Ronald Fisher]] (1936).<ref name="fisher36">{{cite journal|author=Fisher, R.A.|title=The Use of Multiple Measurements in Taxonomic Problems|journal=[[Annals of Eugenics]]|volume=7|pages=179&ndash;188|year=1963|issue=2|url=http://digital.library.adelaide.edu.au/coll/special//fisher/138.pdf|doi=10.1111/j.1469-1809.1936.tb02137.x|hdl=2440/15227|hdl-access=free|access-date=2007-05-22|archive-date=2011-09-28|archive-url=https://web.archive.org/web/20110928044802/http://digital.library.adelaide.edu.au/coll/special//fisher/138.pdf|url-status=dead}}</ref> [https://archive.ics.uci.edu/ml/datasets/Iris Provided online by University of California-Irvine Machine Learning Repository].<ref name=":2">{{cite web |title=UCI Machine Learning Repository: Iris Data Set |url=https://archive.ics.uci.edu/ml/datasets/Iris |url-status=live |archive-url=https://web.archive.org/web/20230426065109/https://archive.ics.uci.edu/ml/datasets/Iris |archive-date=2023-04-26 |access-date=2025-10-05}}</ref>
* [[MNIST database]] – Images of handwritten digits commonly used to test classification, clustering, and [[Digital image processing|image processing]] algorithms
* [[MNIST database]] – Images of handwritten digits commonly used to test classification, clustering, and [[Digital image processing|image processing]] algorithms
* ''[[Categorical data analysis]]'' – Data sets used in the book, ''An Introduction to Categorical Data Analysis'', [https://stats.oarc.ucla.edu/other/examples/icda/ provided online] by UCLA Advanced Research Computing.<ref>{{cite web |url=https://stats.oarc.ucla.edu/other/examples/icda/ |title=Textbook Examples An Introduction to Categorical Data Analysis by Alan Agresti |access-date=2023-05-02 |url-status=live |archive-url=https://web.archive.org/web/20230131013107/https://stats.oarc.ucla.edu/other/examples/icda/ |archive-date=2023-01-31}}</ref>
* ''[[Categorical data analysis]]'' – Data sets used in the book, ''An Introduction to Categorical Data Analysis'', [https://stats.oarc.ucla.edu/other/examples/icda/ provided online] by UCLA Advanced Research Computing.<ref name=":3">{{cite web |url=https://stats.oarc.ucla.edu/other/examples/icda/ |title=Textbook Examples An Introduction to Categorical Data Analysis by Alan Agresti |access-date=2023-05-02 |url-status=live |archive-url=https://web.archive.org/web/20230131013107/https://stats.oarc.ucla.edu/other/examples/icda/ |archive-date=2023-01-31}}</ref>
*''[[Robust statistics]]'' – Data sets used in ''[[Robust Regression and Outlier Detection]]'' ([[Peter Rousseeuw|Rousseeuw]] and Leroy, 1968). [https://web.archive.org/web/20050207032959/http://www.uni-koeln.de/themen/statistik/data/rousseeuw/ Provided online] at the University of Cologne.<ref>{{cite web |url=http://www.uni-koeln.de/themen/statistik/data/rousseeuw/ |title=The ROUSSEEUW datasets |url-status=dead |archive-url=https://web.archive.org/web/20050207032959/http://www.uni-koeln.de/themen/statistik/data/rousseeuw/ |archive-date=2005-02-07}}</ref>
*''[[Robust statistics]]'' – Data sets used in ''[[Robust Regression and Outlier Detection]]'' ([[Peter Rousseeuw|Rousseeuw]] and Leroy, 1968). [https://web.archive.org/web/20050207032959/http://www.uni-koeln.de/themen/statistik/data/rousseeuw/ Provided online] at the University of Cologne.<ref>{{cite web |url=http://www.uni-koeln.de/themen/statistik/data/rousseeuw/ |title=The ROUSSEEUW datasets |url-status=dead |archive-url=https://web.archive.org/web/20050207032959/http://www.uni-koeln.de/themen/statistik/data/rousseeuw/ |archive-date=2005-02-07}}</ref>
*''[[Time series]]'' – Data used in Chatfield's book, ''The Analysis of Time Series'', are [https://web.archive.org/web/20110102201323/http://lib.stat.cmu.edu/modules.php?op=modload&name=PostWrap&file=index&page=datasets/ provided on-line] by StatLib.<ref>{{cite web |url=http://lib.stat.cmu.edu/modules.php?op=modload&name=PostWrap&file=index&page=datasets/ |title=StatLib :: Data, Software and News from the Statistics Community |url-status=dead |archive-url=https://web.archive.org/web/20110102201323/http://lib.stat.cmu.edu/modules.php?op=modload&name=PostWrap&file=index&page=datasets/ |archive-date=2011-01-02}}</ref>
*''[[Time series]]'' – Data used in Chatfield's book, ''The Analysis of Time Series'', are [https://web.archive.org/web/20110102201323/http://lib.stat.cmu.edu/modules.php?op=modload&name=PostWrap&file=index&page=datasets/ provided on-line] by StatLib.<ref>{{cite web |url=http://lib.stat.cmu.edu/modules.php?op=modload&name=PostWrap&file=index&page=datasets/ |title=StatLib :: Data, Software and News from the Statistics Community |url-status=dead |archive-url=https://web.archive.org/web/20110102201323/http://lib.stat.cmu.edu/modules.php?op=modload&name=PostWrap&file=index&page=datasets/ |archive-date=2011-01-02}}</ref>
Line 27: Line 30:


==Example==
==Example==
Loading datasets using [[Python (programming language)|Python]]:
Loading data sets using [[Python (programming language)|Python]]:
<syntaxhighlight lang="console">
<syntaxhighlight lang="console">
$ pip install datasets
$ pip install datasets
Line 55: Line 58:


* [https://www.data.gov/ Data.gov] – the U.S. Government's open data
* [https://www.data.gov/ Data.gov] – the U.S. Government's open data
* [https://earthdata.nasa.gov/gcmd GCMD] – the Global Change Master Directory containing over 34,000 descriptions of Earth science and environmental science data sets and services
* [https://data.humdata.org/ Humanitarian Data Exchange(HDX)] – The Humanitarian Data Exchange (HDX) is an open humanitarian [[data sharing]] platform managed by the [[United Nations Office for the Coordination of Humanitarian Affairs]].
* [https://data.humdata.org/ Humanitarian Data Exchange(HDX)] – The Humanitarian Data Exchange (HDX) is an open humanitarian [[data sharing]] platform managed by the [[United Nations Office for the Coordination of Humanitarian Affairs]].
* [https://opendata.cityofnewyork.us/ NYC Open Data] – free public data published by New York City agencies and other partners.
* [https://opendata.cityofnewyork.us/ NYC Open Data] – free public data published by New York City agencies and other partners.

Latest revision as of 18:28, 5 October 2025

Template:For-multi Template:Short description

File:Iris dataset scatterplot.svg
Various plots of the multivariate data set Iris flower data set introduced by Ronald Fisher (1936).[1]

A data set (or dataset) is a collection of data. In the case of tabular data, a data set corresponds to one or more database tables, where every column of a table represents a particular variable, and each row corresponds to a given record of the data set in question. The data set lists values for each of the variables, such as for example height and weight of an object, for each member of the data set. Data sets can also consist of a collection of documents or files.[2]

In the open data discipline, a data set is a unit used to measure the amount of information released in a public open data repository. The European data.europa.eu portal aggregates more than a million data sets.[3]

Properties

Several characteristics define a data set's structure and properties. These include the number and types of the attributes or variables, and various statistical measures applicable to them, such as standard deviation and kurtosis.[4]

The values may be numbers, such as real numbers or integers, for example representing a person's height in centimeters, but may also be nominal data (i.e., not consisting of numerical values), for example representing a person's ethnicity. More generally, values may be of any of the kinds described as a level of measurement. For each variable, the values are normally all of the same kind. Missing values may exist, which must be indicated somehow.

In statistics, data sets usually come from actual observations obtained by sampling a statistical population, and each row corresponds to the observations on one element of that population. Data sets may further be generated by algorithms for the purpose of testing certain kinds of software. Some modern statistical analysis software such as SPSS still present their data in the classical data set fashion. If data is missing or suspicious an imputation method may be used to complete a data set.[5]

Applications and use cases

Data sets are widely used across various fields to support data analysis, research, and decision-making. In the sciences, data sets provide the empirical foundation for studies in disciplines such as biology, physics, and social science, enabling discoveries in medicine, environmental science, and social research. In machine learning and artificial intelligence, data sets are essential for training, validating, and testing algorithms for tasks such as image recognition, natural language processing, and predictive modeling. Governments and organizations publish open data sets to promote transparency, inform policy-making, and facilitate urban and social planning. The business sector uses data sets for market analysis, customer segmentation, and operational improvements. Additionally, healthcare relies on data sets for clinical research and improving patient outcomes. These varied applications demonstrate the critical role data sets play in enabling evidence-based insights and driving technological progress.

Classics

Several classic data sets have been used extensively in the statistical literature:

Example

Loading data sets using Python:

$ pip install datasets
from datasets import load_dataset

dataset = load_dataset(NAME OF DATASET)

See also

References

Template:Reflist

External links

Template:Sister project

  1. a b Script error: No such module "Citation/CS1".
  2. Script error: No such module "Citation/CS1".
  3. Script error: No such module "citation/CS1".
  4. Script error: No such module "citation/CS1".
  5. Script error: No such module "citation/CS1".
  6. Script error: No such module "citation/CS1".
  7. Script error: No such module "citation/CS1".
  8. Script error: No such module "citation/CS1".
  9. Script error: No such module "citation/CS1".