Uses the new IAM authentication method for WML authentication as well.
View demo of app here (deployed on IBM Cloud): https://mortgage-pred-anchal-surprised-ratel.eu-de.mybluemix.net/
- Create a watson studio and machine learning service on cloud
- Lauch watson studio
- Create a project
- Go to the project and click on add to project
- Select Modeler Flow, give the flow a name and select SPSS flow
- Select from file and upload the modeler.str file
- Run the flow Note: if you get an error to run the flow, delete the data files and drag and drop them and use the data files from the repo
- Deploy the model when the WML model is created on Watson studio.
- Edit the server.py file:
- Edit your credentials from IBM cloud account:
- Add api key
- Add ML instance ID
- Add the scoring URL of the model created on Watson Studio. This will be present in the deployments tab when you deploy the model.
- Run application using the following command: python server.py
- Open your browser and go to https://localhost:8080