Data Creation steps
CreateData
Source code in azure_helper/steps/create_data.py
__init__(project_name, train_datastore='train', test_datastore='test')
This class is just a wrapper around the BlobStorageInterface and might disappear, as it is not really needed.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
project_name |
str
|
description |
required |
train_datastore |
str
|
description. Defaults to "train". |
'train'
|
test_datastore |
str
|
description. Defaults to "test". |
'test'
|
Source code in azure_helper/steps/create_data.py
upload_training_data(blob_storage_interface, x_train, y_train)
Upload datas to the training blob storage.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
blob_storage_interface |
BlobStorageInterface
|
The interface with your storage account. |
required |
x_train |
pd.DataFrame
|
Train datas. |
required |
y_train |
pd.DataFrame
|
Train datas. |
required |
Source code in azure_helper/steps/create_data.py
upload_validation_data(blob_storage_interface, x_valid, y_valid)
Upload datas to the validation blob storage.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
blob_storage_interface |
BlobStorageInterface
|
The interface with your storage account. |
required |
x_valid |
pd.DataFrame
|
Validation datas. |
required |
y_valid |
pd.DataFrame
|
Validation datas. |
required |
Source code in azure_helper/steps/create_data.py
upload_test_data(blob_storage_interface, x_test, y_test)
Upload datas to the test blob storage.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
blob_storage_interface |
BlobStorageInterface
|
The interface with your storage account. |
required |
x_test |
pd.DataFrame
|
Test datas. |
required |
y_test |
pd.DataFrame
|
Test datas. |
required |