×
1 Choose EITC/EITCA Certificates
2 Learn and take online exams
3 Get your IT skills certified

Confirm your IT skills and competencies under the European IT Certification framework from anywhere in the world fully online.

EITCA Academy

Digital skills attestation standard by the European IT Certification Institute aiming to support Digital Society development

LOG IN TO YOUR ACCOUNT

CREATE AN ACCOUNT FORGOT YOUR PASSWORD?

FORGOT YOUR PASSWORD?

AAH, WAIT, I REMEMBER NOW!

CREATE AN ACCOUNT

ALREADY HAVE AN ACCOUNT?
EUROPEAN INFORMATION TECHNOLOGIES CERTIFICATION ACADEMY - ATTESTING YOUR PROFESSIONAL DIGITAL SKILLS
  • SIGN UP
  • LOGIN
  • INFO

EITCA Academy

EITCA Academy

The European Information Technologies Certification Institute - EITCI ASBL

Certification Provider

EITCI Institute ASBL

Brussels, European Union

Governing European IT Certification (EITC) framework in support of the IT professionalism and Digital Society

  • CERTIFICATES
    • EITCA ACADEMIES
      • EITCA ACADEMIES CATALOGUE<
      • EITCA/CG COMPUTER GRAPHICS
      • EITCA/IS INFORMATION SECURITY
      • EITCA/BI BUSINESS INFORMATION
      • EITCA/KC KEY COMPETENCIES
      • EITCA/EG E-GOVERNMENT
      • EITCA/WD WEB DEVELOPMENT
      • EITCA/AI ARTIFICIAL INTELLIGENCE
    • EITC CERTIFICATES
      • EITC CERTIFICATES CATALOGUE<
      • COMPUTER GRAPHICS CERTIFICATES
      • WEB DESIGN CERTIFICATES
      • 3D DESIGN CERTIFICATES
      • OFFICE IT CERTIFICATES
      • BITCOIN BLOCKCHAIN CERTIFICATE
      • WORDPRESS CERTIFICATE
      • CLOUD PLATFORM CERTIFICATENEW
    • EITC CERTIFICATES
      • INTERNET CERTIFICATES
      • CRYPTOGRAPHY CERTIFICATES
      • BUSINESS IT CERTIFICATES
      • TELEWORK CERTIFICATES
      • PROGRAMMING CERTIFICATES
      • DIGITAL PORTRAIT CERTIFICATE
      • WEB DEVELOPMENT CERTIFICATES
      • DEEP LEARNING CERTIFICATESNEW
    • CERTIFICATES FOR
      • EU PUBLIC ADMINISTRATION
      • TEACHERS AND EDUCATORS
      • IT SECURITY PROFESSIONALS
      • GRAPHICS DESIGNERS & ARTISTS
      • BUSINESSMEN AND MANAGERS
      • BLOCKCHAIN DEVELOPERS
      • WEB DEVELOPERS
      • CLOUD AI EXPERTSNEW
  • FEATURED
  • SUBSIDY
  • HOW IT WORKS
  •   IT ID
  • ABOUT
  • CONTACT
  • MY ORDER
    Your current order is empty.
EITCIINSTITUTE
CERTIFIED

How to create a version of the model?

by eryk97 / Monday, 24 February 2025 / Published in Artificial Intelligence, EITC/AI/GCML Google Cloud Machine Learning, First steps in Machine Learning, Serverless predictions at scale

Creating a version of a machine learning model in Google Cloud Platform (GCP) is a critical step in deploying models for serverless predictions at scale. A version in this context refers to a specific instance of a model that can be used for predictions. This process is integral to managing and maintaining different iterations of a machine learning model, allowing developers to improve and update models while ensuring stability and consistency in production environments.

Understanding Google Cloud AI Platform

Google Cloud AI Platform provides a comprehensive suite of tools for developing, training, and deploying machine learning models. It supports a variety of frameworks such as TensorFlow, scikit-learn, and XGBoost, and facilitates the deployment of models in a scalable, serverless manner. The AI Platform is designed to streamline the process of moving models from development to production, providing capabilities like versioning, monitoring, and resource management.

Steps to Create a Version of a Model

Creating a version of a model involves several steps, which can be broadly categorized into preparing the model, deploying it to AI Platform, and managing versions. Below is a detailed walkthrough of these steps:

Step 1: Prepare the Model

Before deploying a model, it must be trained and exported in a format compatible with Google Cloud AI Platform. For instance, if using TensorFlow, the model should be saved as a SavedModel directory. This directory contains the model architecture, weights, and other necessary metadata.

{{EJS6}}
Step 2: Upload the Model to Google Cloud Storage (GCS)
Once the model is prepared, it must be uploaded to a Google Cloud Storage bucket. AI Platform requires models to be stored in GCS for deployment.
{{EJS7}}
Step 3: Deploy the Model to AI Platform
With the model stored in GCS, the next step is to create a model resource in AI Platform. This is done via the Google Cloud Console, the `gcloud` command-line tool, or the AI Platform client libraries.
{{EJS8}}
Step 4: Create a Model Version
Creating a version involves specifying the location of the model in GCS and configuring various parameters such as the machine type, framework, and runtime version. This step is important as it allows the deployment of different versions of the same model, facilitating A/B testing, rollback, and gradual rollout.
{{EJS9}}
Step 5: Manage Model Versions
Once a version is created, it can be managed through the AI Platform. This includes setting a default version, deleting old versions, and monitoring the performance of each version. - Setting a Default Version: The default version is used for prediction requests if no version is specified. This can be set using the `gcloud` command:
bash
  gcloud ai-platform versions set-default v1 --model=my_model
  

- Monitoring and Logging: AI Platform provides logging and monitoring tools to track the performance and usage of each model version. This is essential for understanding how the model behaves in production and identifying any issues that may arise.

- Deleting a Version: Old or unused versions can be deleted to reduce costs and manage resources efficiently:

{{EJS11}}

Best Practices for Model Versioning

- Use Semantic Versioning: Adopt a versioning scheme that reflects the changes made to the model, such as semantic versioning (e.g., v1.0.0, v1.1.0). This helps in understanding the nature of changes between versions.

- Automate Deployment: Incorporate model versioning into a CI/CD pipeline to automate the deployment and testing of new versions. This reduces manual errors and speeds up the release process.

- Test Before Deployment: Thoroughly test new versions in a staging environment before deploying to production. This ensures that the model performs as expected under different scenarios.

- Monitor and Iterate: Continuously monitor the performance of each model version and iterate based on feedback and performance metrics. This helps in maintaining the accuracy and relevance of the model over time.

Example Use Case

Consider a retail company using a machine learning model to predict product demand. The company regularly updates the model to incorporate new data and improve accuracy. By using AI Platform's versioning capabilities, they can deploy new versions of the model without disrupting the existing prediction service. They can also perform A/B testing by directing a portion of the traffic to the new version and comparing the results with the current version. This approach allows them to make data-driven decisions about whether to fully transition to the new model version.

Creating and managing model versions in Google Cloud AI Platform is a fundamental aspect of deploying machine learning models at scale. By following a structured approach to model versioning, organizations can ensure that their models are robust, scalable, and capable of meeting production demands. This process not only facilitates the deployment of models but also enhances the ability to iterate and improve models over time, leading to better predictive performance and business outcomes.

Other recent questions and answers regarding EITC/AI/GCML Google Cloud Machine Learning:

  • Can more than 1 model be applied?
  • Can Machine Learning adapt depending on a scenario outcome which alforithm to use?
  • What is the simplest route to most basic didactic AI model training and deployment on Google AI Platform using a free tier/trial using a GUI console in a step-by-step manner for an absolute begginer with no programming background?
  • How to practically train and deploy simple AI model in Google Cloud AI Platform via the GUI interface of GCP console in a step-by-step tutorial?
  • What is the simplest, step-by-step procedure to practice distributed AI model training in Google Cloud?
  • What is the first model that one can work on with some practical suggestions for the beginning?
  • Are the algorithms and predictions based on the inputs from the human side?
  • What are the main requirements and the simplest methods for creating a natural language processing model? How can one create such a model using available tools?
  • Does using these tools require a monthly or yearly subscription, or is there a certain amount of free usage?
  • What is an epoch in the context of training model parameters?

View more questions and answers in EITC/AI/GCML Google Cloud Machine Learning

More questions and answers:

  • Field: Artificial Intelligence
  • Programme: EITC/AI/GCML Google Cloud Machine Learning (go to the certification programme)
  • Lesson: First steps in Machine Learning (go to related lesson)
  • Topic: Serverless predictions at scale (go to related topic)
Tagged under: AI Platform, Artificial Intelligence, Google Cloud Platform, Machine Learning, Model Versioning, TensorFlow
Home » Artificial Intelligence / EITC/AI/GCML Google Cloud Machine Learning / First steps in Machine Learning / Serverless predictions at scale » How to create a version of the model?

Certification Center

USER MENU

  • My Account

CERTIFICATE CATEGORY

  • EITC Certification (105)
  • EITCA Certification (9)

What are you looking for?

  • Introduction
  • How it works?
  • EITCA Academies
  • EITCI DSJC Subsidy
  • Full EITC catalogue
  • Your order
  • Featured
  •   IT ID
  • EITCA reviews (Medium publ.)
  • About
  • Contact

EITCA Academy is a part of the European IT Certification framework

The European IT Certification framework has been established in 2008 as a Europe based and vendor independent standard in widely accessible online certification of digital skills and competencies in many areas of professional digital specializations. The EITC framework is governed by the European IT Certification Institute (EITCI), a non-profit certification authority supporting information society growth and bridging the digital skills gap in the EU.

Eligibility for EITCA Academy 80% EITCI DSJC Subsidy support

80% of EITCA Academy fees subsidized in enrolment by

    EITCA Academy Secretary Office

    European IT Certification Institute ASBL
    Brussels, Belgium, European Union

    EITC / EITCA Certification Framework Operator
    Governing European IT Certification Standard
    Access contact form or call +32 25887351

    Follow EITCI on X
    Visit EITCA Academy on Facebook
    Engage with EITCA Academy on LinkedIn
    Check out EITCI and EITCA videos on YouTube

    Funded by the European Union

    Funded by the European Regional Development Fund (ERDF) and the European Social Fund (ESF) in series of projects since 2007, currently governed by the European IT Certification Institute (EITCI) since 2008

    Information Security Policy | DSRRM and GDPR Policy | Data Protection Policy | Record of Processing Activities | HSE Policy | Anti-Corruption Policy | Modern Slavery Policy

    Automatically translate to your language

    Terms and Conditions | Privacy Policy
    EITCA Academy
    • EITCA Academy on social media
    EITCA Academy


    © 2008-2025  European IT Certification Institute
    Brussels, Belgium, European Union

    TOP
    Chat with Support
    Chat with Support
    Questions, doubts, issues? We are here to help you!
    End chat
    Connecting...
    Do you have any questions?
    Do you have any questions?
    :
    :
    :
    Send
    Do you have any questions?
    :
    :
    Start Chat
    The chat session has ended. Thank you!
    Please rate the support you've received.
    Good Bad