Open in app
Home
Notifications
Lists
Stories

Write
Mohamed Niang
Mohamed Niang

Home

Pinned

Introduction to Tensorflow

%tensorflow_version 1.x Introduction to Tensorflow Table of contents Introduction Getting started with Tensorflow Tensorflow vs Numpy Linear regression with Tensorflow Logistic regression with Tensorflow Summary Introduction The big idea of tensorflow is to express a numeric computation as a graph. It basically consists of two phases: Construction phase: here, you need to define graph of computations;

Tensor Flow

6 min read


May 20, 2021

Statistical functions and Statistical Distributions

Table of contents — Statistical functions Averages and measures of central location Measures of Spread Statistical distributions Discrete distributions Continuous distributions Law of Large Numbers Central Limit Theorem Statistical functions Averages and measures of central location Mean The mean is the sum of all values divided by the number of values. import statistics as st x = [4,5,1,2,7,2,6,9,3,7,2] print('Mean:', st.mean(x))

Statistical Functions

11 min read


May 20, 2021

Functions and Classes in Python

Table of contents — Functions Classes How to create a class Attributes in class Methods in class The init method Functions How to create a function def Car(n): print('My car is Toyota!'+n) Car('health ') My car is Toyota! def Car(carname): print('My car is ' + carname + '!') Car('Ford') My car is Ford! Write a Car function with price as…

Function

2 min read


May 19, 2021

Storage command-line tool

The Google Cloud SDK provides a set of commands for working with data stored in Cloud Storage. This notebook introduces several gsutil commands for interacting with Cloud Storage. Note that shell commands in a notebook must be prepended with a !. List available commands The gsutil command can be used to perform a…

Cloud Sdk

3 min read


May 19, 2021

Cloud Storage client library

This tutorial shows how to get started with the Cloud Storage Python client library. Create a storage bucket Buckets are the basic containers that hold your data. Everything that you store in Cloud Storage must be contained in a bucket. You can use buckets to organize your data and control access to your data. …

Cloud Storage

2 min read


May 19, 2021

Train Locally and Deploy to GCP

The following notebook trains an XGBoost model locally and deploys the resulting model file to GCP using the ML Engine Online Prediction API. # Copyright 2019 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with…

ML

2 min read


May 18, 2021

Training and prediction with scikit-learn

This notebook demonstrates how to use AI Platform to train a simple classification model using scikit-learn, and then deploy the model to get predictions. You train the model to predict a person’s income level based on the Census Income data set. Before you jump in, let’s cover some of the…

Ai Plateforme

8 min read


May 18, 2021

Vizualizing BigQuery data in a Jupyter notebook

BigQuery is a petabyte-scale analytics data warehouse that you can use to run SQL queries over vast amounts of data in near realtime. Data visualization tools can help you make sense of your BigQuery data and help you analyze the data interactively. You can use visualization tools to help you…

3 min read


May 18, 2021

Getting started with BigQuery ML

BigQuery ML enables users to create and execute machine learning models in BigQuery using SQL queries. The goal is to democratize machine learning by enabling SQL practitioners to build models using their existing tools and to increase development speed by eliminating the need for data movement. In this tutorial, you…

Bigquery Ml

5 min read

Getting started with BigQuery ML
Getting started with BigQuery ML

May 17, 2021

BigQuery query magic

Jupyter magics are notebook-specific shortcuts that allow you to run commands with minimal syntax. Jupyter notebooks come with many built-in commands. The BigQuery client library, google-cloud-bigquery, provides a cell magic, %%bigquery. The %%bigquery magic runs a SQL query and returns the results as a pandas DataFrame. Run a query on a public dataset The following example queries…

Bigquery

2 min read

Mohamed Niang

Mohamed Niang

Machine Learning Scientist

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable