Machine Vison Homework
Machine Vison Homework
[Document subtitle]
DECENBER, 2021
TEWODROS BZUAYEHU ASMAMAW
Curve fitting sionusoidal signal
import numpy as np
import matplotlib.pyplot as plt
from tensorflow import keras
from google.colab import files
import tensorflow as tf
import math
# Training
model.fit( x_data, y_data, epochs=100, verbose=1)
# Compute the output
y_predicted = model.predict(x_data)
y_predicted = model.predict(x_data)
conclusion
Once our training dataset is built, we can create our network:
- The first layer is single linear unit layer (for the input)
- Second layer is a &4 units Relu layer
- The third is 64 relu layer
- Last layer is a single linear unit (for the output)