File tree 7 files changed +45
-34
lines changed
8 Automated_testing/tests
7 files changed +45
-34
lines changed Original file line number Diff line number Diff line change
1
+ export PATH=" /home/soumitra/anaconda3/bin:$PATH "
2
+ cd $( jupyter --runtime-dir)
1
3
ls
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ function status = machineLearnURLDownload(url)
158
158
159
159
endfunction
160
160
161
- function status = machineLearnURL (modelName, preprocessing)
161
+ function status = machineLearnURL (modelName, preprocessing, parameters )
162
162
163
163
files = listfiles(' .' )
164
164
index = grep(files, ' username.data' )
Original file line number Diff line number Diff line change 1
1
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 number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -954,3 +954,11 @@ Write failed: Broken pipe
954
954
Write failed: Broken pipe
955
955
Write failed: Broken pipe
956
956
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
Original file line number Diff line number Diff line change 1
1
// Demo script for linear regression
2
2
3
3
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' ),:) = [];
6
6
7
7
X = M(:, 1 )
8
8
y = M(:, 2 )
Original file line number Diff line number Diff line change 34
34
elif (customflag == '1' ):
35
35
command = open ('/home/' + user + '/Scripts/' + modelName + '.py' ).read ().replace ('parameters' ,'' )
36
36
print (command )
37
+ homedir = '/home/' + user
37
38
f = open (homedir + "/temp.py" ,"w+" )
38
39
f .write (command )
39
40
f .close ()
You can’t perform that action at this time.
0 commit comments