GithubHelp home page GithubHelp logo

cloud-automl's Introduction

GCP AutoML Demonstration

Create a service account {#service-account}

Create an account with AutoML Admin role and download the key as json file. After the credentials are downloaded set the environment variable GOOGLE_APPLICATION_CREDENTIALS as the absolute path to the credentials file.

$ GOOGLE_APPLICATION_CREDENTIALS="absolute/path/to/credentials"

Use this link to know how to set up one

Install dependencies

Run the following code in the terminal or virtual environment to install the required dependencies.

$ pip install -r requirements.txt --upgrade

Run the code

  • Replace the project_id variable with your project_id on line 3 of index.py.
    project_id = "your_project_id"
  • Replace gs bucket path to the dataset with your own path in the file index.py, line number 4.

    path = "gs://path/to/your/dataset"
  • On line number 5 of index.py change the display_name variable to anything that you want it to be reflected on the dataset and model.

    display_name="<any_display_name>"

    NOTE Do not use any special character other than underscore ( _ )

  • Set the appropriate target column on line number 6

    target_column_name = "Target Column"
  • And then run the script using the following command.

    $ python index.py

    OR

    $ python3 index.py

Check the console for messeges

Go to Tables datasets to view your dataset.

Go to Tables models to view your model.

cloud-automl's People

Watchers

James Cloos avatar Steve avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.