mirror of
https://github.com/Azure/MachineLearningNotebooks.git
synced 2025-12-19 17:17:04 -05:00
update samples from Release-115 as a part of SDK release
This commit is contained in:
@@ -25,8 +25,8 @@ def get_class_label_dict(labels_dir):
|
||||
label = []
|
||||
labels_path = os.path.join(labels_dir, 'labels.txt')
|
||||
proto_as_ascii_lines = tf.gfile.GFile(labels_path).readlines()
|
||||
for l in proto_as_ascii_lines:
|
||||
label.append(l.rstrip())
|
||||
for temp in proto_as_ascii_lines:
|
||||
label.append(temp.rstrip())
|
||||
return label
|
||||
|
||||
|
||||
|
||||
@@ -60,13 +60,6 @@
|
||||
"## Download and prepare data"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"Import the necessary packages. The Open Datasets package contains a class representing each data source (`NycTlcGreen` for example) to easily filter date parameters before downloading."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
|
||||
@@ -2,4 +2,3 @@ name: regression-automated-ml
|
||||
dependencies:
|
||||
- pip:
|
||||
- azureml-sdk
|
||||
- azureml-opendatasets
|
||||
|
||||
Reference in New Issue
Block a user