split_data
function is already included in the main function. You only need to add the function itself with the required inputs and outputs underneath the comment TO DO: add function to split data
.
66 | mlflow.autolog()
, all parameters, metrics, and model files will automatically be stored with your job run. Enable autologging in the main function under TO DO: enable autologging
.
74 | 64 | { 65 | "clientId": "your-client-id", 66 | "clientSecret": "your-client-secret", 67 | "subscriptionId": "your-subscription-id", 68 | "tenantId": "your-tenant-id", 69 | "activeDirectoryEndpointUrl": "https://login.microsoftonline.com", 70 | "resourceManagerEndpointUrl": "https://management.azure.com/", 71 | "activeDirectoryGraphResourceId": "https://graph.windows.net/", 72 | "sqlManagementEndpointUrl": "https://management.core.windows.net:8443/", 73 | "galleryEndpointUrl": "https://gallery.azure.com/", 74 | "managementEndpointUrl": "https://management.core.windows.net/" 75 | } 76 |77 |
requirements.txt
), and run the tests with pytest tests/
. By default, Pytest uses test files that are prefixed with test
.
63 | pull_request
event.
71 | needs
to the workflow and add --stream
to the CLI command to trigger the Azure Machine Learning job.
79 | \n", 66 | " | PatientID | \n", 67 | "Pregnancies | \n", 68 | "PlasmaGlucose | \n", 69 | "DiastolicBloodPressure | \n", 70 | "TricepsThickness | \n", 71 | "SerumInsulin | \n", 72 | "BMI | \n", 73 | "DiabetesPedigree | \n", 74 | "Age | \n", 75 | "Diabetic | \n", 76 | "
---|---|---|---|---|---|---|---|---|---|---|
0 | \n", 81 | "1354778 | \n", 82 | "0 | \n", 83 | "171 | \n", 84 | "80 | \n", 85 | "34 | \n", 86 | "23 | \n", 87 | "43.509726 | \n", 88 | "1.213191 | \n", 89 | "21 | \n", 90 | "0 | \n", 91 | "
1 | \n", 94 | "1147438 | \n", 95 | "8 | \n", 96 | "92 | \n", 97 | "93 | \n", 98 | "47 | \n", 99 | "36 | \n", 100 | "21.240576 | \n", 101 | "0.158365 | \n", 102 | "23 | \n", 103 | "0 | \n", 104 | "
2 | \n", 107 | "1640031 | \n", 108 | "7 | \n", 109 | "115 | \n", 110 | "47 | \n", 111 | "52 | \n", 112 | "35 | \n", 113 | "41.511523 | \n", 114 | "0.079019 | \n", 115 | "23 | \n", 116 | "0 | \n", 117 | "
3 | \n", 120 | "1883350 | \n", 121 | "9 | \n", 122 | "103 | \n", 123 | "78 | \n", 124 | "25 | \n", 125 | "304 | \n", 126 | "29.582192 | \n", 127 | "1.282870 | \n", 128 | "43 | \n", 129 | "1 | \n", 130 | "
4 | \n", 133 | "1424119 | \n", 134 | "1 | \n", 135 | "85 | \n", 136 | "59 | \n", 137 | "27 | \n", 138 | "35 | \n", 139 | "42.604536 | \n", 140 | "0.549542 | \n", 141 | "22 | \n", 142 | "0 | \n", 143 | "
... | \n", 146 | "... | \n", 147 | "... | \n", 148 | "... | \n", 149 | "... | \n", 150 | "... | \n", 151 | "... | \n", 152 | "... | \n", 153 | "... | \n", 154 | "... | \n", 155 | "... | \n", 156 | "
9995 | \n", 159 | "1469198 | \n", 160 | "6 | \n", 161 | "95 | \n", 162 | "85 | \n", 163 | "37 | \n", 164 | "267 | \n", 165 | "18.497542 | \n", 166 | "0.660240 | \n", 167 | "31 | \n", 168 | "0 | \n", 169 | "
9996 | \n", 172 | "1432736 | \n", 173 | "0 | \n", 174 | "55 | \n", 175 | "51 | \n", 176 | "7 | \n", 177 | "50 | \n", 178 | "21.865341 | \n", 179 | "0.086589 | \n", 180 | "34 | \n", 181 | "0 | \n", 182 | "
9997 | \n", 185 | "1410962 | \n", 186 | "5 | \n", 187 | "99 | \n", 188 | "59 | \n", 189 | "47 | \n", 190 | "67 | \n", 191 | "30.774018 | \n", 192 | "2.301594 | \n", 193 | "43 | \n", 194 | "1 | \n", 195 | "
9998 | \n", 198 | "1958653 | \n", 199 | "0 | \n", 200 | "145 | \n", 201 | "67 | \n", 202 | "30 | \n", 203 | "21 | \n", 204 | "18.811861 | \n", 205 | "0.789572 | \n", 206 | "26 | \n", 207 | "0 | \n", 208 | "
9999 | \n", 211 | "1332938 | \n", 212 | "10 | \n", 213 | "100 | \n", 214 | "54 | \n", 215 | "34 | \n", 216 | "27 | \n", 217 | "38.840943 | \n", 218 | "0.175465 | \n", 219 | "23 | \n", 220 | "0 | \n", 221 | "
10000 rows × 10 columns
\n", 225 | "