efron_morris75
Stay organized with collections
Save and categorize content based on your preferences.
The batting averages of 18 Major League Baseball players through their first 45
at-bats of the 1970 season, along with their batting average for the remainder
the season.
The data has been modified from the table in the paper, as used for case studies
using Stan and PyMC3, by adding columns explicitly listing the number of at-bats
early in the season, as well as at-bats and hits for the full season.
Split |
Examples |
'train' |
18 |
FeaturesDict({
'At-Bats': int32,
'BattingAverage': float32,
'FirstName': string,
'Hits': int32,
'LastName': string,
'RemainingAt-Bats': int32,
'RemainingAverage': float32,
'SeasonAt-Bats': int32,
'SeasonAverage': float32,
'SeasonHits': int32,
})
Feature |
Class |
Shape |
Dtype |
Description |
|
FeaturesDict |
|
|
|
At-Bats |
Tensor |
|
int32 |
|
BattingAverage |
Tensor |
|
float32 |
|
FirstName |
Tensor |
|
string |
|
Hits |
Tensor |
|
int32 |
|
LastName |
Tensor |
|
string |
|
RemainingAt-Bats |
Tensor |
|
int32 |
|
RemainingAverage |
Tensor |
|
float32 |
|
SeasonAt-Bats |
Tensor |
|
int32 |
|
SeasonAverage |
Tensor |
|
float32 |
|
SeasonHits |
Tensor |
|
int32 |
|
@article{efron1975data,
title={Data analysis using Stein's estimator and its generalizations},
author={Efron, Bradley and Morris, Carl},
journal={Journal of the American Statistical Association},
volume={70},
number={350},
pages={311--319},
year={1975},
publisher={Taylor \& Francis}
}
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-12-06 UTC.
[null,null,["Last updated 2022-12-06 UTC."],[],[],null,["# efron_morris75\n\n\u003cbr /\u003e\n\n- **Description**:\n\nThe batting averages of 18 Major League Baseball players through their first 45\nat-bats of the 1970 season, along with their batting average for the remainder\nthe season.\n\nThe data has been modified from the table in the paper, as used for case studies\nusing Stan and PyMC3, by adding columns explicitly listing the number of at-bats\nearly in the season, as well as at-bats and hits for the full season.\n\n- **Homepage** :\n \u003chttps://www.tensorflow.org/datasets/catalog/efron_morris75\u003e\n\n- **Source code** :\n [`tfds.datasets.efron_morris75.Builder`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/datasets/efron_morris75/efron_morris75_dataset_builder.py)\n\n- **Versions**:\n\n - **`1.0.0`** (default): Initial release.\n- **Download size** : `1008 bytes`\n\n- **Dataset size** : `4.29 KiB`\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n Yes\n\n- **Splits**:\n\n| Split | Examples |\n|-----------|----------|\n| `'train'` | 18 |\n\n- **Feature structure**:\n\n FeaturesDict({\n 'At-Bats': int32,\n 'BattingAverage': float32,\n 'FirstName': string,\n 'Hits': int32,\n 'LastName': string,\n 'RemainingAt-Bats': int32,\n 'RemainingAverage': float32,\n 'SeasonAt-Bats': int32,\n 'SeasonAverage': float32,\n 'SeasonHits': int32,\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|------------------|--------------|-------|---------|-------------|\n| | FeaturesDict | | | |\n| At-Bats | Tensor | | int32 | |\n| BattingAverage | Tensor | | float32 | |\n| FirstName | Tensor | | string | |\n| Hits | Tensor | | int32 | |\n| LastName | Tensor | | string | |\n| RemainingAt-Bats | Tensor | | int32 | |\n| RemainingAverage | Tensor | | float32 | |\n| SeasonAt-Bats | Tensor | | int32 | |\n| SeasonAverage | Tensor | | float32 | |\n| SeasonHits | Tensor | | int32 | |\n\n- **Supervised keys** (See\n [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):\n `None`\n\n- **Figure**\n ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n Not supported.\n\n- **Examples**\n ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\n- **Citation**:\n\n @article{efron1975data,\n title={Data analysis using Stein's estimator and its generalizations},\n author={Efron, Bradley and Morris, Carl},\n journal={Journal of the American Statistical Association},\n volume={70},\n number={350},\n pages={311--319},\n year={1975},\n publisher={Taylor \\& Francis}\n }"]]