Table of Contents

MODEL DEPLOYMENT IN GCP

“No machine learning model is valuable, unless it’s deployed to production.” – Luigi Patruno 

 The machine learning models are being used to achieve many difficult problems. 

For Neuromarketing we have following datasets and for those we have different types of models to be deployed on GCP. 

Dataset Name 

Model type 

FMRI 

Deeplearning 

Facial Recognition 

Deeplearning 

Emotion Data 

knn  

Student MOOC 

Random forest 

eeg-dataset/eye-tracking 

SVM/random forest 

The following table has information about the dataset and the type of model deployed on GCP 

 

 

In order To test and evaluate the prebuilt model in GCP for predictions we must follow the following steps: 

  1. Upload the model in storage bucket in GCP Make sure to have .joblib file in case of scikit learn model and .pd or .pbtxt kind model file for tensorflow model 
  2. Create a GCP model AI model Resource. With the model.joblib file inplace write the following code for data file for model 

Emotion Data 

import joblib 

joblib.dump(neigh,’model.joblib’) 

 Above is the code for emotion dataset with the model name as neigh 

  1. Also create AI Platform prediction for version and specify the path where the model is saved.Later to the creation of model in notebook a model must be created in AI resource platform also create a version for the model with all the newest and latest versions for python, framework, and ML runtime.
  2. The framework for Student MOOC, eeg and eye-tracking we used Scikit learn, for facial recognition, FMRI and emotion we used XGboost
  3. Make sure to give the path for the model.joblib file from bucket and save the details for successful model deployment.
  4. After the model is deployed it can be tested and evaluated for future predictions. 

 

 

 

Renuka Madhugir

Data Scientist

Liked what you read !

Please leave a Feedback

Leave a Reply

Your email address will not be published. Required fields are marked *

Join the sustainability movement

Is your carbon footprint leaving a heavy mark? Learn how to lighten it! ➡️

Register Now

Calculate Your DataOps ROI with Ease!

Simplify your decision-making process with the DataOps ROI Calculator, optimize your data management and analytics capabilities.

Calculator ROI Now!

Related articles you may would like to read

How To Setup An AI Center of Excellence (COE) With Use Cases And Process 
Proposals

Know the specific resource requirement for completing a specific project with us.

Blog

Keep yourself updated with the latest updates about Cloud technology, our latest offerings, security trends and much more.

Webinar

Gain insights into latest aspects of cloud productivity, security, advanced technologies and more via our Virtual events.

ISmile Technologies delivers business-specific Cloud Solutions and Managed IT Services across all major platforms maximizing your competitive advantage at an unparalleled value.

Request a Consultation