Преглед на файлове

Added instals commands on readme

Doriand
Doriand Petit преди 4 години
родител
ревизия
966d7a56a8
променени са 8 файла, в които са добавени 5 реда и са изтрити 6659 реда
  1. 4
    0
      code/wilshire_5000/README.md
  2. Двоични данни
      code/wilshire_5000/dataset.npy
  3. 0
    11
      code/wilshire_5000/grab_data.py
  4. 0
    6639
      code/wilshire_5000/new_data.txt
  5. 0
    1
      code/wilshire_5000/nn.py
  6. 1
    0
      code/wilshire_5000/notebook_wilshire.ipynb
  7. Двоични данни
      code/wilshire_5000/resnet18snake.png
  8. 0
    8
      code/wilshire_5000/results.txt

+ 4
- 0
code/wilshire_5000/README.md Целия файл

@@ -1,5 +1,9 @@
# wilshire_5000

Classical Installations Required : numpy, pandas, tensorflow and matplotlib (and warnings)

Other Installation : statsmodels for ARIMA predictions (pip install statsmodels)

## Données

[Données](https://fred.stlouisfed.org/series/WILL5000INDFC)

Двоични данни
code/wilshire_5000/dataset.npy Целия файл


+ 0
- 11
code/wilshire_5000/grab_data.py Целия файл

@@ -1,11 +0,0 @@
import pandas
import numpy as np

csv = pandas.read_csv("WILL5000INDFC.csv")
extraction = csv["WILL5000INDFC"].tolist()
for i in range(len(extraction)) :
if extraction[i] == "." :
extraction[i] = extraction[i-1]
extraction = np.array(extraction).astype(float)
print(extraction)
np.save("dataset.npy", extraction)

+ 0
- 6639
code/wilshire_5000/new_data.txt
Файловите разлики са ограничени, защото са твърде много
Целия файл


+ 0
- 1
code/wilshire_5000/nn.py Целия файл

@@ -3,7 +3,6 @@ import tensorflow as tf
import pandas as pd
import matplotlib.pyplot as plt
import wilshire
import tensorflow_addons as tfa
from statsmodels.tsa.arima.model import ARIMA



+ 1
- 0
code/wilshire_5000/notebook_wilshire.ipynb Целия файл

@@ -137,6 +137,7 @@
],
"source": [
"## Plot all a with already saved models (the name of the folders should not be changed)\n",
"## the name of the models' folders should be \"Snake{a_value}a\"\n",
"nn.plot_all_a(a=[\"1\",\"10\",\"20\",\"30\",\"50\",\"100\"])"
]
},

Двоични данни
code/wilshire_5000/resnet18snake.png Целия файл


+ 0
- 8
code/wilshire_5000/results.txt Целия файл

@@ -1,8 +0,0 @@
100 epochs adam mse 2_runs 4_batch_size

[[0.5401026606559753, 0.0], [0.5401026606559753, 0.0], [0.18415303528308868, 0.009042516350746155],
[0.1577790528535843, 0.0004640519618988037], [0.007161237532272935, 0.0007062254007905722]]


[[0.0681375540792942, 0.11859790716458475], [0.0113261666148901, 0.002322317928070604], [nan, nan],
[0.008264125511050224, 0.0013573866481290681], [0.008175850845873356, 0.001503577316727166]]

Loading…
Отказ
Запис