List of commits:
Subject Hash Author Date (UTC)
simslope0_py: filename and exit dca5feb38bc896c2742e23da245c49e5c80ef30f Josiah_Mullins_E6440 2019-12-06 17:50:04
simslope_c: Output to file f8c52e106738ec13223144579d2b74aa0d290ade Josiah_Mullins_E6440 2019-12-06 17:41:09
simslope.c: type change 707e5be5af137023c28c12d54af35394cc32c9cc Josiah_Mullins_Optiplex_Mini 2019-12-01 22:21:44
Indentation 8606ab9f5e9d3b01f698a3303f5e6d39418b7bd5 Josiah_Mullins_Optiplex_Mini 2019-12-01 21:41:16
Simslope Initial commit. e9ccd3d49b4b1342341f1866a3f7a941af503b30 Josiah_Mullins_Optiplex_Mini 2019-12-01 21:24:04
Commit dca5feb38bc896c2742e23da245c49e5c80ef30f - simslope0_py: filename and exit
Changed the input file name and allowed premature
exit for testing purposes.
Author: Josiah_Mullins_E6440
Author date (UTC): 2019-12-06 17:50
Committer name: Josiah_Mullins_E6440
Committer date (UTC): 2019-12-06 17:50
Parent(s): f8c52e106738ec13223144579d2b74aa0d290ade
Signing key:
Tree: 1b1d80593d84d996a5d22472b813984fd6ce33a7
File Lines added Lines deleted
00_simslope/simslope0.py 11 3
File 00_simslope/simslope0.py changed (mode: 100644) (index d53b86a..6aebf31)
13 13 import tensorflow as tf import tensorflow as tf
14 14 from tensorflow import keras from tensorflow import keras
15 15 import numpy as np import numpy as np
16 #To allow premature exit.
17 import sys
16 18
17 19 # open file # open file
18 f=open('simslope.txt','r')
20 f=open('simslope.dat','r')
19 21 d=[[int(x) for x in line.split()] for line in f] d=[[int(x) for x in line.split()] for line in f]
20 22 f.close() f.close()
21 23
22 # copy to classes and data
24 # copy to classes and data.
25 #classes contains the slope data.
26 #data contains the point data.
23 27 classes=[] classes=[]
24 28 data=[] data=[]
25 29
30 #This loop extracts the relevant data from d.
26 31 for a in range(0,len(d)): for a in range(0,len(d)):
27 32 classes.append(d[a][0]) classes.append(d[a][0])
28 33 row=[] row=[]
 
... ... for a in range(0,len(d)):
30 35 row.append(d[a][b]) row.append(d[a][b])
31 36 data.append(row) data.append(row)
32 37
33 #print(classes)
38 print(classes)
34 39 #print(data) #print(data)
35 40
41 #To allow premature exit
42 sys.exit()
43
36 44 # normalize each row of data # normalize each row of data
37 45 normdata=[] normdata=[]
38 46 for a in range(0,len(data)): for a in range(0,len(data)):
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/ORpKTKoVQnFhs/Public_Research

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/ORpKTKoVQnFhs/Public_Research

Clone this repository using git:
git clone git://git.rocketgit.com/user/ORpKTKoVQnFhs/Public_Research

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main