Datasets:
Adding another way to load data, directly from the HF dataset hosted link
Browse files
Baseline_XGBoost_Resource_Estimation.ipynb
CHANGED
|
@@ -143,7 +143,10 @@
|
|
| 143 |
"# Assuming the data is in a CSV file with the target column 'fit_time_in_TF'\n",
|
| 144 |
"data_path = 'dataset-new.csv' # Replace with the actual path to your dataset\n",
|
| 145 |
"df = pd.read_csv(data_path)\n",
|
| 146 |
-
"df.columns"
|
|
|
|
|
|
|
|
|
|
| 147 |
]
|
| 148 |
},
|
| 149 |
{
|
|
|
|
| 143 |
"# Assuming the data is in a CSV file with the target column 'fit_time_in_TF'\n",
|
| 144 |
"data_path = 'dataset-new.csv' # Replace with the actual path to your dataset\n",
|
| 145 |
"df = pd.read_csv(data_path)\n",
|
| 146 |
+
"df.columns",
|
| 147 |
+
"# Another way is to directly load the data from the hugging face where the dataset is hosted",
|
| 148 |
+
"# url = "https://huggingface.co/datasets/ICICLE-AI/ResourceEstimation_HLOGenCNN/resolve/main/dataset-new.csv",
|
| 149 |
+
"# df = pd.read_csv(url)",
|
| 150 |
]
|
| 151 |
},
|
| 152 |
{
|