| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Login/Sign Up for IBM Cloud: https://ibm.biz/RapidML
Hands-On Guide: https://ibm.biz/RapidML-HandsOn
Slides: https://ibm.biz/RapidML-Slides
If you are an existing user please login to IBM Cloud
And if you are not, don't worry! We have got you covered! There are 3 steps to create your account on IBM Cloud:
1- Put your email and password.
2- You get a verification link with the registered email to verify your account.
3- Fill the personal information fields.
** Please make sure you select the country you are in when asked at any step of the registration process.
AutoAI is a tool that automates machine learning tasks to ease the tasks of data scientists. It automatically prepares your data for modeling, chooses the best algorithm for your problem, and creates pipelines for the trained models, and it can be run in public clouds and in private clouds, including IBM Cloud Pak for Data.
This tutorial explains the benefits of the AutoAI tool on a use case. This will give you a better understanding of how regression and classification problems can be handled without any code — and how the tasks (feature engineering, model selection, hyperparameter tuning, etc.) are done with this service. This tutorial also includes details for choosing the best model among the pipelines and how to deploy and use these models via IBM Cloud Pak for Data platform.
Customer churn is an important aspect for any business, it gives them insights about their prospective customers. In this tutorial we will be predicting customer churn of car owners. We will be utilizing Watson data refinery to alter our data, and then use AutoAI to rapdliy develop a classfication machine learning model in a matter of minutes and predict our customer chrun.
On top of the page, you will see a search bar. Search for "Watson Studio". Watson Studio service will show up. Click on it, if you already have an instance of Watson Studio, it should be visible. If so, click it. If not, click Watson Studio under Catalog Results to create a new service instance.
Select the type of plan to create if you are creating a new service instance. A Lite (free) plan should suffice for this tutorial). Click Create.
Search for "Object Storage". Object Storage service will show up. Click on it. If you already have an instance of Object Storage, it should be visible. If so, click it. If not, click Object Storage under Catalog Results to create a new service instance.
To create a Watson Machine Learning instance, search for Machine Learning and create a lite instance. If you already have an instance of Machine Learning, it should be visible. If so, click it. If not, click Machine Learning under Catalog Results to create a new service instance.
git clone https://github.com/IBMDeveloperMEA/Rapid-Machine-Learning-Development-using-Low-Code-Applications
To download this repository, click here Or click on the green code icon, and download the ZIP file. You will need the repository for the data that is required for this tutorial.
Search for your Watson Studio instance, and click on the Get Started button.
In Watson Studio, we use the concept of a project to collect and organize the resources used to achieve a particular goal (resources to build a solution to a problem). Your project resources can include data, collaborators, and analytic assets like notebooks and models, etc.
To create a new project, you can either:
As you have downloaded this repository, you will find the data in the data folder called customer_churn.csv.
From your Watson Studio project panael, select Assets.
If not already open, click the 1000 data icon at the upper right of the panel to open the Files sub-panel. Then, click Load.
Drag the file to the drop area to upload the data into Watson Studio.
Wait until the file has been uploaded.
In this step we will use data refinery to manipulate the data. We will be using the data from the previous step that you have uploaded and going to change the chrun column to a binary column.
It should look like this in the GUI
Click on Apply to apply the changes.
Once again, select the CHRUN column and click on the three dots on the top right of the column, and select the Convert Column option, and proceed with integer.
You have now cleaned and modified your data, let's move on to the next step!
-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x
In the case where you don't have a machine learning service associated
You should now see the service associated to your experiement as shown above.
-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x
The UI will show progress as different algorithms/evaluators are selected and as different pipelines are created and evaluated. You can view the performance of the pipelines that have completed by expanding each pipeline section.
The experiment can take several minutes to run. Upon completion, you will see a message that the pipelines have been created.
The AutoAI process by default selects top-two performing algorithms for a given dataset. After executing the appropriate data pre-processing steps, it follows this sequence for each of the algorithms to build candidate pipelines:
You can review each pipeline and select to deploy the top performing pipeline from this experiment.
Scroll down to see the Pipeline leaderboard. The top-performing pipeline is in the first rank.
The next step is to select the model that gives the best result by looking at the metrics. In this case, Pipeline 4 gave the best result with the metric "Accuracy (optimized)". You can view the detailed results by clicking the corresponding pipeline from the leaderboard.
To deploy this model, click on Save as, then Model to save it.
A window opens that asks for the model name, description (optional), etc. You can accept the defaults or give your model a meaningful name/description and then click Save.
You will see the new model under the Models section of the Assets page.
Under the Models section of the Assets page, click the name of your saved model.
To make the model available to be deployed, we need to make it available in the deployment space. Click on Promote to deployment space.
Once the model is deployed we will go ahead with testing the model.
IBM Cloud Pak for Data as a Service offers tools to quickly test out Watson machine learning models. We begin with the built-in tooling.
{
"input_data": [
{
"fields": [
"Gender",
"Status",
"Children",
"Est Income",
"Car Owner",
"Age",
"AvgMonthlySpend",
"CustomerSupportCalls",
"Paymethod",
"MembershipPlan"
],
"values": [
[
"M",
"S",
1,
5762.9,
"Y",
43,
38.96,
null,
"CC",
2
]
]
}
]
}Login/Sign Up for IBM Cloud: https://ibm.biz/RapidML
Hands-On Guide: https://ibm.biz/RapidML-HandsOn
Slides: https://ibm.biz/RapidML-Slides
| Back | FazBrowse Home | New Git URL |