metadata
annotations_creators:
- machine-generated
language:
- en
license: mit
pretty_name: Synthetic Linear Regression Dataset
tags:
- linear-regression
- synthetic
- tabular
task_categories:
- tabular-regression
size_categories:
- n<1K
viewer: true
Synthetic Linear Regression Dataset
This dataset consists of 1000 synthetic data points for training and evaluating simple linear regression models.
Dataset Description
x: A single input feature, randomly sampled from a uniform distribution between 0 and 10.
y: Target value computed as:
[ y = 3.5x + 7 + \epsilon ]
where ( \epsilon \sim \mathcal{N}(0, 5) ) is Gaussian noise added to introduce variance.
Usage
You can load this dataset manually using pandas
:
import pandas as pd
df = pd.read_csv('synthetic_linear_data.csv')
print(df.head())