TensorFlow: Linear Regression
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Tue Jul 30 09:00:48 2019 @author: onno """ # Import libraries (Numpy, Tensorflow, matplotlib) import numpy as np import matplotlib.pyplot as plot # Create 1000 points following a function y=0.1 * x + 0.4 (i.e. y = W * x + b) with some normal random distribution: num_points = 1000 vectors_set = [] for i in range(num_points): W = 0.1 # W
| Penerbit | Taratsa |
|---|---|
| Tahun | 2019-07-30 |
| Bahasa | ind |
| Pengenal | bookid: urn:uuid:e3f48fbc-b0a7-5338-a0f9-e12e7974215d |