This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Import relevant modules | |
import pandas as pd | |
import numpy as np | |
import matplotlib.pyplot as plt | |
from sklearn.model_selection import train_test_split | |
from keras.layers import Dense, LSTM | |
from keras.models import Sequential | |
# Decide some settings | |
batch_size = 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tensorflow as tf | |
import pandas as pd | |
from sklearn.model_selection import train_test_split | |
from math import sqrt | |
class tfMLPRegressor(): | |
''' | |
Class Implementing a MLP in TF for time series prediction. | |
''' | |
def __init__(self, X, y): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tensorflow as tf | |
import pandas as pd | |
from sklearn.model_selection import train_test_split | |
from math import sqrt | |
class tfMLPRegressor(): | |
''' | |
Class Implementing a MLP in TF for time series prediction. | |
''' | |
def __init__(self, X, y): |