Skip to content

Commit

Permalink
One more update
Browse files Browse the repository at this point in the history
  • Loading branch information
Yueningwang committed Oct 25, 2018
1 parent 5c6d8eb commit 5675074
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions model_create/Results1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
For this combination [['tanh', 5], ['tanh', 5], 'tanh'], R is 0.68
The best_R for now is 0.6821 and the combination is [['tanh', 5], ['tanh', 5], 'tanh'] in 58.34 seconds
Binary file modified model_create/__pycache__/opfit.cpython-36.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions model_create/latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"layer_number": 1, "starting_n": 1, "best_R": 0.6820897249614492, "best_param": [["tanh", 5], ["tanh", 5], "tanh"], "cumulative_time": 58.341623306274414}
2 changes: 1 addition & 1 deletion model_create/opfit.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def read_file(filename, X_var, Y_var):
The function takes name of datafile, list of predictors and response
it returns array_like X and Y for data fitting
"""
location = os.path.abspath(filename)
location = os.path.abspath('./data/%s/'%filename)
df = pd.read_csv('%s'%location,sep='\t')
X = np.array(df[X_var].values)
Y = np.array(df[Y_var].values)
Expand Down

0 comments on commit 5675074

Please sign in to comment.