Keras Timeseries Prediction
Time series prediction with Sequential Model and LSTM units
Install / Use
npx skills add gcarq/keras-timeseries-predictionInstalls into whichever agent you are using.
README
Time series predictions with Keras
Requirements
- Theano
- Keras
- matplotlib
- pandas
- scikit-learn
- tqdm
- numpy
Usage
git clone https://github.com/gcarq/keras-timeseries-prediction.git
cd keras-timeseries-prediction/
pip install -r requirements.txt
python main.py
Dataset
The dataset is international-airline-passengers.csv which contains 144 data points ranging from Jan 1949 to Dec 1960.
Each data point represents monthly passengers in thousands.

Model
model = Sequential()
model.add(LSTM(64,
activation='relu',
batch_input_shape=(batch_size, look_back, 1),
stateful=True,
return_sequences=False))
model.add(Dense(1, activation='linear'))
model.compile(loss='mean_squared_error', optimizer='adam')
Results

Related Skills
mcp
Use the `mcp_perplexity-ask_perplexity_search` tools to answer questions. You should use this instead of the `web_search` tool because it is a lot more accurate.
practical-power-systems-synthesis
This skill enables synthesis in the domain of power-systems (engineering). It represents research-level-level expertise and is designed for production use in research, industry, and educational contexts. Use this skill when you need to perform synthesis operations related to power-systems.
semi-supervised-optogenetics-testing
This skill enables testing in the domain of optogenetics (neuroscience). It represents intermediate-level expertise and is designed for production use in research, industry, and educational contexts. Use this skill when you need to perform testing operations related to optogenetics.
data-mining-interpretation-fundamental
This skill enables interpretation in the domain of data-mining (data-science). It represents fundamental-level expertise and is designed for production use in research, industry, and educational contexts. Use this skill when you need to perform interpretation operations related to data-mining.
