Skip to content

Commit 9982b2f

Browse files
Server file change
1 parent 5476e1b commit 9982b2f

File tree

7 files changed

+45
-34
lines changed

7 files changed

+45
-34
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
export PATH="/home/soumitra/anaconda3/bin:$PATH"
2+
cd $(jupyter --runtime-dir)
13
ls

Experimentation/10 Automated_loader/main.sci

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function status = machineLearnURLDownload(url)
158158

159159
endfunction
160160

161-
function status = machineLearnURL(modelName, preprocessing)
161+
function status = machineLearnURL(modelName, preprocessing, parameters)
162162

163163
files = listfiles('.')
164164
index = grep(files, 'username.data')
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
export PATH="/home/soumitra/anaconda3/bin:$PATH"
2-
python python_server.py kernel-7563.json decision_tree_classification soumitra 0 max_depth=5
2+
python python_server.py kernel-7563.json predictor.py soumitra 2
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
1.100000 39343.000000
2-
1.300000 46205.000000
3-
1.500000 37731.000000
4-
2.000000 43525.000000
5-
2.200000 39891.000000
6-
2.900000 56642.000000
7-
3.000000 60150.000000
8-
3.200000 54445.000000
9-
3.200000 64445.000000
10-
3.700000 57189.000000
11-
3.900000 63218.000000
12-
4.000000 55794.000000
13-
4.000000 56957.000000
14-
4.100000 57081.000000
15-
4.500000 61111.000000
16-
4.900000 67938.000000
17-
5.100000 66029.000000
18-
5.300000 83088.000000
19-
5.900000 81363.000000
20-
6.000000 93940.000000
21-
6.800000 91738.000000
22-
7.100000 98273.000000
23-
7.900000 101302.000000
24-
8.200000 113812.000000
25-
8.700000 109431.000000
26-
9.000000 105582.000000
27-
9.500000 116969.000000
28-
9.600000 112635.000000
29-
10.300000 122391.000000
30-
10.500000 121872.000000
1+
1.100000
2+
1.300000
3+
1.500000
4+
2.000000
5+
2.200000
6+
2.900000
7+
3.000000
8+
3.200000
9+
3.200000
10+
3.700000
11+
3.900000
12+
4.000000
13+
4.000000
14+
4.100000
15+
4.500000
16+
4.900000
17+
5.100000
18+
5.300000
19+
5.900000
20+
6.000000
21+
6.800000
22+
7.100000
23+
7.900000
24+
8.200000
25+
8.700000
26+
9.000000
27+
9.500000
28+
9.600000
29+
10.300000
30+
10.500000

Experimentation/10 Automated_loader/tests/nohup.out

+8
Original file line numberDiff line numberDiff line change
@@ -954,3 +954,11 @@ Write failed: Broken pipe
954954
Write failed: Broken pipe
955955
Write failed: Broken pipe
956956
Write failed: Broken pipe
957+
Pseudo-terminal will not be allocated because stdin is not a terminal.
958+
ssh: connect to host 35.196.55.90 port 22: Connection timed out
959+
Pseudo-terminal will not be allocated because stdin is not a terminal.
960+
ssh: connect to host 35.196.55.90 port 22: Connection timed out
961+
Pseudo-terminal will not be allocated because stdin is not a terminal.
962+
ssh: connect to host 35.196.55.90 port 22: Connection timed out
963+
Pseudo-terminal will not be allocated because stdin is not a terminal.
964+
ssh: connect to host 35.196.55.90 port 22: Connection timed out

Experimentation/8 Automated_testing/tests/linear_regression1.sce

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Demo script for linear regression
22

33
getd('../')
4-
M = csvRead('Salary_Data.csv')
5-
M(or(isnan(M),'c'),:) = []
4+
M = csvRead('Salary_Data.csv');
5+
M(or(isnan(M),'c'),:) = [];
66

77
X = M(:, 1)
88
y = M(:, 2)

Experimentation/python_server.py

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
elif(customflag == '1'):
3535
command = open('/home/' + user + '/Scripts/' + modelName + '.py').read().replace('parameters','')
3636
print(command)
37+
homedir = '/home/' + user
3738
f = open(homedir + "/temp.py","w+")
3839
f.write(command)
3940
f.close()

0 commit comments

Comments
 (0)