×
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

What is the function used to make predictions using a model in BigQuery ML?

by EITCA Academy / Wednesday, 02 August 2023 / Published in Artificial Intelligence, EITC/AI/GCML Google Cloud Machine Learning, Advancing in Machine Learning, BigQuery ML - machine learning with standard SQL, Examination review

The function used to make predictions using a model in BigQuery ML is called `ML.PREDICT`. BigQuery ML is a powerful tool provided by Google Cloud Platform that allows users to build and deploy machine learning models using standard SQL. With the `ML.PREDICT` function, users can apply their trained models to new data and generate predictions.

To use the `ML.PREDICT` function, you need to have a trained model in BigQuery ML. This can be achieved by using the `CREATE MODEL` statement, which trains a model on a specified dataset. Once the model is trained, you can use the `ML.PREDICT` function to make predictions.

The syntax for the `ML.PREDICT` function is as follows:

SELECT
  predicted_column,
  [predicted_columns...]
FROM
  ML.PREDICT(MODEL `project_id.dataset.model`, (
    SELECT
      input_column,
      [input_columns...]
    FROM
      `project_id.dataset.table`
  ))

In this syntax, `predicted_column` refers to the column(s) in the output that will contain the predicted values. These columns should match the schema of the trained model. The `input_column` refers to the column(s) in the input data that will be used for making predictions. These columns should match the schema of the training data.

Here is an example to illustrate the usage of the `ML.PREDICT` function:

SELECT
  predicted_label,
  predicted_probabilities
FROM
  ML.PREDICT(MODEL `myproject.mydataset.mymodel`, (
    SELECT
      sepal_length,
      sepal_width,
      petal_length,
      petal_width
    FROM
      `myproject.mydataset.mytable`
  ))

In this example, the trained model is specified as `myproject.mydataset.mymodel`, and the input data is selected from `myproject.mydataset.mytable`. The output includes the predicted label and the predicted probabilities.

The `ML.PREDICT` function is a valuable tool in BigQuery ML as it allows users to easily apply their trained models to new data and obtain predictions. By incorporating this function into their workflows, users can leverage the power of machine learning in BigQuery and make accurate predictions based on their trained models.

The `ML.PREDICT` function in BigQuery ML is used to make predictions using a trained model. It takes the trained model and new input data as parameters and returns the predicted values based on the model's learned patterns. By utilizing this function, users can effectively apply their models to new data and obtain valuable predictions.

Other recent questions and answers regarding Examination review:

  • How can you check the training statistics of a model in BigQuery ML?
  • What is the purpose of the create model statement in BigQuery ML?
  • How can you access BigQuery ML?
  • What are the three types of machine learning models supported by BigQuery ML?

More questions and answers:

  • Field: Artificial Intelligence
  • Programme: EITC/AI/GCML Google Cloud Machine Learning (go to the certification programme)
  • Lesson: Advancing in Machine Learning (go to related lesson)
  • Topic: BigQuery ML - machine learning with standard SQL (go to related topic)
  • Examination review
Tagged under: Artificial Intelligence, BigQuery ML, Google Cloud Platform, Machine Learning, Prediction, SQL
Home » Artificial Intelligence » EITC/AI/GCML Google Cloud Machine Learning » Advancing in Machine Learning » BigQuery ML - machine learning with standard SQL » Examination review » » What is the function used to make predictions using a model in BigQuery ML?

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 90% EITCI DSJC Subsidy support
90% of EITCA Academy fees subsidized in enrolment

    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-2026  European IT Certification Institute
    Brussels, Belgium, European Union

    TOP
    CHAT WITH SUPPORT
    Do you have any questions?
    We will reply here and by email. Your conversation is tracked with a support token.