Presentation is loading. Please wait.

Presentation is loading. Please wait.

Azure ML in SSIS An introduction to Azure Machine Learning Through the eyes of an SSIS developer David Söderlund – SolidQ Nordic

Similar presentations


Presentation on theme: "Azure ML in SSIS An introduction to Azure Machine Learning Through the eyes of an SSIS developer David Söderlund – SolidQ Nordic"— Presentation transcript:

1 Azure ML in SSIS An introduction to Azure Machine Learning Through the eyes of an SSIS developer David Söderlund – SolidQ Nordic dsoderlund@solidq.com Twitter: @QuadmanSWE LinkedIn: https://se.linkedin.com/in/soderlunddavid

2 Sponsors

3 Using and improving Azure ML in SSIS  Introduction to Azure Machine Learning  Predictive analysis  Fully managed in Azure  Pay as you go  Free trials available with limited functionality  Interacting with Azure ML Predictive experiments through SSIS  Custom component for batch execution  Azure Feature Pack for blob storage interaction 2015-09-05 |SQL Saturday #433, Gothenburg3 |

4 Machine Learning / Data mining  Consider machine learning if  There is a pattern you would like to find  There is no apparent mathematical solution  There is enough data  Senior data scientists get involved in larger projects but everyone should know the essentials.  We will learn how to implement machine learning models in our daily ETL! 2015-09-05 |SQL Saturday #433, Gothenburg4 |

5 Machine Learning / Data mining  What is learning?  Reinforcement learning by looking at examples, this is why we need data  Look at examples with correct labeling and try to figure out the target function  Come up with hypothesis function  Validate 2015-09-05 |SQL Saturday #433, Gothenburg5 |

6 Typical Machine Learning project roles  Domain expert  The people who know the data for the problem  Developer  The people who can transform data to conform to the models and to the project’s needs  Data scientist  Runs the experimental process  The name comes from applying the scientific method to data driven decision making. 2015-09-05 |SQL Saturday #433, Gothenburg6 |

7 Azure ML compared to SSAS DM  Getting started, developing models and trying out ideas is not a huge project in itself.  To try out a model requires data at hand and a web browser  You don’t have to know everything to get some insights  SSAS is better for big projects with more complex models.  Better visualization tools in visual studio 2015-09-05 |SQL Saturday #433, Gothenburg7 |

8 Azure ML short overview (demo soon)  The final product is a model  The model can be used to predict values on data that it hasn’t seen before  Everything is an experiment  Not every experiment is successful  You don’t need to know everything to run it 2015-09-05 |SQL Saturday #433, Gothenburg8 |

9 Azure ML short overview (demo soon)  Training experiments  Looks like an SSIS package  When it works we can “compile” the model and produce a predictive experiment  Predictive experiment  Uses a “trained model” and does not retrain every run  The inputs are run through the model and become outputs 2015-09-05 |SQL Saturday #433, Gothenburg9 |

10 Demo? DEMO 2015-09-05 |SQL Saturday #433, Gothenburg10 |

11 Executing predictive scoring  Web service API  Request – Response Service (RRS)  Row by agonizing row  Useful for streaming data  Batch Execution Service (BES)  Can only run off of files in azure blob storage  Therefor we must make sure our data is in that format before running the batch  Results are also stored in this format and a relative location is returned in the execution status  We can use this to retrieve the results! 2015-09-05 |SQL Saturday #433, Gothenburg11 |

12 Batch execution service from SSIS  Make sure the data is in blob storage  Run the batch execution by pointing to the correct container and file  Read the data from blob storage with the container/file that execution returned. 2015-09-05 |SQL Saturday #433, Gothenburg12 |

13 SSIS requirements for development  SSIS Azure Feature Pack  A custom component for the HTTP-request  Connection manager to our source data  Connection manager to azure blob storage  Connection information to our Azure ML experiment  Variables to help us keep track of where the experiment output is 2015-09-05 |SQL Saturday #433, Gothenburg13 |

14 SSIS requirements for development 2015-09-05 |SQL Saturday #433, Gothenburg14 |

15 SSIS requirements for development 2015-09-05 |SQL Saturday #433, Gothenburg15 |

16 Demo? DEMO 2015-09-05 |SQL Saturday #433, Gothenburg16 |

17 What about updating and improving?  Experiments can have multiple web service outputs, so make an output for the score model module.  Run the training experiment through it’s API and catch both the new model object and its score.  In SSIS compare the old and the new then update the predictive experiment with the new model, if it’s better. 2015-09-05 |SQL Saturday #433, Gothenburg17 |

18 Automate!  Figure out how the components work  Parameterize the locations and keys that change with each experiment  Auto-generate packages from metadata with BIML 2015-09-05 |SQL Saturday #433, Gothenburg18 |

19 Useful links to replicate setup  Azure trial account (for storage and studio) Azure trial account (for storage and studio)  SSIS Azure Feature pack SSIS Azure Feature pack  Chris Price (BluewaterSQL) ExecureAzureMLBatch Component Chris Price (BluewaterSQL) ExecureAzureMLBatch Component  Some assembly required… get it?  How to retrain models programmatically by Raymond Laghaeian (not part of demo) How to retrain models programmatically by Raymond Laghaeian  Automate your batch package with BIML Automate your batch package with BIML 2015-09-05 |SQL Saturday #433, Gothenburg19 |


Download ppt "Azure ML in SSIS An introduction to Azure Machine Learning Through the eyes of an SSIS developer David Söderlund – SolidQ Nordic"

Similar presentations


Ads by Google