Home
%3CLINGO-SUB%20id%3D%22lingo-sub-377113%22%20slang%3D%22en-US%22%3ENEW%20REFERENCE%20ARCHITECTURE%3A%20Training%20of%20Python%20scikit-learn%20models%20on%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-377113%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20recently%20published%20our%20ninth%20%3CSPAN%3EAI%20%3CA%20href%3D%22http%3A%2F%2Faka.ms%2FRefArchs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ereference%20architecture%3C%2FA%3E%20(on%20the%20%3C%2FSPAN%3E%3CA%20href%3D%22http%3A%2F%2Faka.ms%2FArchitecture%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Architecture%20Center%3C%2FA%3E%3CSPAN%3E).%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Farchitecture%2Freference-architectures%2Fai%2Ftraining-python-models%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3ETraining%20of%20Python%20scikit-learn%20models%20on%20Azure%3C%2FSPAN%3E%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EReference%20architectures%20provide%20a%20consistent%20approach%20and%20best%20practices%20for%20a%20given%20solution.%20Each%20architecture%20includes%20recommended%20practices%2C%20along%20with%20considerations%20for%20scalability%2C%20availability%2C%20manageability%2C%20security%2C%20and%20more.%20The%20full%20array%20of%20reference%20architectures%20is%20available%20on%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Farchitecture%2Freference-architectures%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Architecture%20Center%3C%2FA%3E.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Farchitecture%2Freference-architectures%2Fai%2Ftraining-python-models%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F93767i081B678F1A862FB0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22training-python-models.png%22%20title%3D%22training-python-models.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThis%20reference%20architecture%20shows%20recommended%20practices%20for%20tuning%20the%20hyperparameters%20(training%20parameters)%20of%20a%20%3CA%20href%3D%22https%3A%2F%2Fpypi.org%2Fproject%2Fscikit-learn%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20data-linktype%3D%22external%22%3Escikit-learn%3C%2FA%3E%20Python%20model.%20A%20reference%20implementation%20for%20this%20architecture%20is%20available%20on%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2FMLHyperparameterTuning%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%20data-linktype%3D%22external%22%3EGitHub%3C%2FA%3E.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20architecture%20consists%20of%20several%20Azure%20cloud%20services%20that%20scale%20resources%20according%20to%20need.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fmachine-learning%2Fdata-science-virtual-machine%2Foverview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%20data-linktype%3D%22absolute-path%22%3EMicrosoft%20Data%20Science%20Virtual%20Machine%3C%2FA%3E%20(DSVM)%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fmachine-learning%2Fservice%2Foverview-what-is-azure-ml%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%20data-linktype%3D%22absolute-path%22%3EAzure%20Machine%20Learning%20service%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fmachine-learning%2Fservice%2Fhow-to-set-up-training-targets%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%20data-linktype%3D%22absolute-path%22%3EAzure%20Machine%20Learning%20Compute%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcontainer-registry%2Fcontainer-registry-intro%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%20data-linktype%3D%22absolute-path%22%3EAzure%20Container%20Registry%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fstorage%2Fblobs%2Fstorage-blobs-introduction%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%20data-linktype%3D%22absolute-path%22%3EAzure%20Blob%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3ETopics%26nbsp%3Bcovered%20include%3A%3C%2FEM%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EArchitecture%3C%2FLI%3E%0A%3CLI%3EPerformance%20considerations%3C%2FLI%3E%0A%3CLI%3EMonitoring%20and%20logging%20considerations%3C%2FLI%3E%0A%3CLI%3ECost%20considerations%3C%2FLI%3E%0A%3CLI%3ESecurity%20considerations%3C%2FLI%3E%0A%3CLI%3EDeployment%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId-1702861184%22%20id%3D%22toc-hId-1702861184%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22toc-hId--849295777%22%20id%3D%22toc-hId--849295777%22%3ESee%20also%3C%2FH2%3E%0A%3CP%3EAdditional%20related%20AI%20reference%20architectures%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fblogs.msdn.microsoft.com%2Fazurecat%2F2019%2F02%2F18%2Fnew-reference-architecture-batch-scoring-of-spark-models-on-azure-databricks%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EBatch%20scoring%20of%20Spark%20models%20on%20Azure%20Databricks%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Farchitecture%2Freference-architectures%2Fai%2Ftraining-deep-learning%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EDistributed%20training%20of%20deep%20learning%20models%20on%20Azure%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Farchitecture%2Freference-architectures%2Fai%2Fbatch-scoring-deep-learning%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EBatch%20scoring%20on%20Azure%20for%20deep%20learning%20models%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Farchitecture%2Freference-architectures%2Fai%2Fbatch-scoring-python%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EBatch%20scoring%20of%20Python%20models%20on%20Azure%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Farchitecture%2Freference-architectures%2Fai%2Frealtime-scoring-python%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EReal-time%20scoring%20of%20Python%20Scikit-Learn%20and%20deep%20learning%20models%20on%20Azure%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Farchitecture%2Freference-architectures%2Fai%2Frealtime-scoring-r%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EReal-time%20scoring%20of%20R%20machine%20learning%20models%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Farchitecture%2Freference-architectures%2Fai%2Fconversational-bot%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EEnterprise-grade%20conversational%20bot%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Farchitecture%2Freference-architectures%2Fai%2Freal-time-recommendation%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EBuild%20a%20real-time%20recommendation%20API%20on%20Azure%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFind%20all%20our%20reference%20architectures%20%3CA%20href%3D%22http%3A%2F%2Faka.ms%2FRefArchs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22http%3A%2F%2Faka.ms%2FCAT%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20200px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F86487i0F88F1FC5C4B3A8C%2Fimage-size%2Fsmall%3Fv%3D1.0%26amp%3Bpx%3D200%22%20alt%3D%22AzureCAT_Icon.jpg%22%20title%3D%22AzureCAT_Icon.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%20%3CSTRONG%3EAzureCAT%20Guidance%26nbsp%3B%3C%2FSTRONG%3E%26nbsp%3B%3CBR%20%2F%3E%3CEM%3E%20%22Hands-on%20solutions%2C%20with%20our%20heads%20in%20the%20Cloud!%22%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-377113%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20reference%20architecture%20shows%20recommended%20practices%20for%20tuning%20the%20hyperparameters%20(training%20parameters)%20of%20a%20scikit-learn%20Python%20model.%20A%20reference%20implementation%20for%20this%20architecture%20is%20available%20on%20GitHub.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-377113%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAI%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

We recently published our ninth AI reference architecture (on the Azure Architecture Center).

 

Reference architectures provide a consistent approach and best practices for a given solution. Each architecture includes recommended practices, along with considerations for scalability, availability, manageability, security, and more. The full array of reference architectures is available on the Azure Architecture Center.

 

training-python-models.png

 

This reference architecture shows recommended practices for tuning the hyperparameters (training parameters) of a scikit-learn Python model. A reference implementation for this architecture is available on GitHub.

 

This architecture consists of several Azure cloud services that scale resources according to need.

 

Topics covered include:

  • Architecture
  • Performance considerations
  • Monitoring and logging considerations
  • Cost considerations
  • Security considerations
  • Deployment

 

See also

Additional related AI reference architectures:

 

Find all our reference architectures here.

 




AzureCAT_Icon.jpg 
AzureCAT Guidance  
"Hands-on solutions, with our heads in the Cloud!"