Skip to content

Commit b710573

Browse files
committed
model update
1 parent 60749b0 commit b710573

9 files changed

+68749
-1582
lines changed

CNN model to Recommend Comperhancive DDIs/.ipynb_checkpoints/P03_CVAndBatchReading (-1 and 1)-checkpoint.ipynb

+32,839-21
Large diffs are not rendered by default.

CNN model to Recommend Comperhancive DDIs/.ipynb_checkpoints/P04_select and evaluate CNN on triple DDI(-1,+1)-checkpoint.ipynb

+162-434
Large diffs are not rendered by default.

CNN model to Recommend Comperhancive DDIs/CosineSNF(structureAndSideEffect).csv

+568-568
Large diffs are not rendered by default.

CNN model to Recommend Comperhancive DDIs/P01_snfpy.ipynb

+31-31
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "code",
5-
"execution_count": 7,
5+
"execution_count": 1,
66
"metadata": {},
77
"outputs": [],
88
"source": [
@@ -16,7 +16,7 @@
1616
},
1717
{
1818
"cell_type": "code",
19-
"execution_count": 8,
19+
"execution_count": 2,
2020
"metadata": {},
2121
"outputs": [
2222
{
@@ -25,7 +25,7 @@
2525
"dict_keys(['data', 'labels'])"
2626
]
2727
},
28-
"execution_count": 8,
28+
"execution_count": 2,
2929
"metadata": {},
3030
"output_type": "execute_result"
3131
}
@@ -37,7 +37,7 @@
3737
},
3838
{
3939
"cell_type": "code",
40-
"execution_count": 9,
40+
"execution_count": 3,
4141
"metadata": {},
4242
"outputs": [
4343
{
@@ -58,7 +58,7 @@
5858
},
5959
{
6060
"cell_type": "code",
61-
"execution_count": 10,
61+
"execution_count": 4,
6262
"metadata": {},
6363
"outputs": [],
6464
"source": [
@@ -67,7 +67,7 @@
6767
},
6868
{
6969
"cell_type": "code",
70-
"execution_count": 11,
70+
"execution_count": 5,
7171
"metadata": {},
7272
"outputs": [
7373
{
@@ -87,7 +87,7 @@
8787
},
8888
{
8989
"cell_type": "code",
90-
"execution_count": 13,
90+
"execution_count": 6,
9191
"metadata": {},
9292
"outputs": [
9393
{
@@ -128,7 +128,7 @@
128128
" 1. ]])]"
129129
]
130130
},
131-
"execution_count": 13,
131+
"execution_count": 6,
132132
"metadata": {},
133133
"output_type": "execute_result"
134134
}
@@ -148,7 +148,7 @@
148148
},
149149
{
150150
"cell_type": "code",
151-
"execution_count": 14,
151+
"execution_count": 7,
152152
"metadata": {},
153153
"outputs": [],
154154
"source": [
@@ -159,7 +159,7 @@
159159
},
160160
{
161161
"cell_type": "code",
162-
"execution_count": 15,
162+
"execution_count": 8,
163163
"metadata": {},
164164
"outputs": [],
165165
"source": [
@@ -168,7 +168,7 @@
168168
},
169169
{
170170
"cell_type": "code",
171-
"execution_count": 16,
171+
"execution_count": 9,
172172
"metadata": {},
173173
"outputs": [],
174174
"source": [
@@ -180,7 +180,7 @@
180180
},
181181
{
182182
"cell_type": "code",
183-
"execution_count": 17,
183+
"execution_count": 10,
184184
"metadata": {},
185185
"outputs": [],
186186
"source": [
@@ -189,7 +189,7 @@
189189
},
190190
{
191191
"cell_type": "code",
192-
"execution_count": 18,
192+
"execution_count": 11,
193193
"metadata": {},
194194
"outputs": [
195195
{
@@ -198,7 +198,7 @@
198198
"(568, 568)"
199199
]
200200
},
201-
"execution_count": 18,
201+
"execution_count": 11,
202202
"metadata": {},
203203
"output_type": "execute_result"
204204
}
@@ -209,28 +209,28 @@
209209
},
210210
{
211211
"cell_type": "code",
212-
"execution_count": 19,
212+
"execution_count": 12,
213213
"metadata": {},
214214
"outputs": [
215215
{
216216
"data": {
217217
"text/plain": [
218-
"array([[0.53922512, 0.001722 , 0.00165839, ..., 0.00162579, 0.00159786,\n",
219-
" 0.00158544],\n",
220-
" [0.001722 , 0.53842433, 0.00164809, ..., 0.00165926, 0.00161345,\n",
218+
"array([[0.53921692, 0.00172211, 0.00165987, ..., 0.00162586, 0.00159828,\n",
219+
" 0.00158574],\n",
220+
" [0.00172211, 0.53841984, 0.00164806, ..., 0.00165927, 0.00161341,\n",
221221
" 0.00160464],\n",
222-
" [0.00165839, 0.00164809, 0.5384849 , ..., 0.00160102, 0.00164483,\n",
223-
" 0.00160622],\n",
222+
" [0.00165987, 0.00164806, 0.53847865, ..., 0.001601 , 0.00164475,\n",
223+
" 0.00160618],\n",
224224
" ...,\n",
225-
" [0.00162579, 0.00165926, 0.00160102, ..., 0.53954305, 0.00171529,\n",
225+
" [0.00162586, 0.00165927, 0.001601 , ..., 0.53953852, 0.00171524,\n",
226226
" 0.0016048 ],\n",
227-
" [0.00159786, 0.00161345, 0.00164483, ..., 0.00171529, 0.53907415,\n",
228-
" 0.00163046],\n",
229-
" [0.00158544, 0.00160464, 0.00160622, ..., 0.0016048 , 0.00163046,\n",
230-
" 0.53911174]])"
227+
" [0.00159828, 0.00161341, 0.00164475, ..., 0.00171524, 0.5390673 ,\n",
228+
" 0.00163041],\n",
229+
" [0.00158574, 0.00160464, 0.00160618, ..., 0.0016048 , 0.00163041,\n",
230+
" 0.53910725]])"
231231
]
232232
},
233-
"execution_count": 19,
233+
"execution_count": 12,
234234
"metadata": {},
235235
"output_type": "execute_result"
236236
}
@@ -241,7 +241,7 @@
241241
},
242242
{
243243
"cell_type": "code",
244-
"execution_count": 20,
244+
"execution_count": 13,
245245
"metadata": {},
246246
"outputs": [],
247247
"source": [
@@ -250,7 +250,7 @@
250250
},
251251
{
252252
"cell_type": "code",
253-
"execution_count": 21,
253+
"execution_count": 14,
254254
"metadata": {},
255255
"outputs": [],
256256
"source": [
@@ -268,7 +268,7 @@
268268
],
269269
"metadata": {
270270
"kernelspec": {
271-
"display_name": "Python 3",
271+
"display_name": "Python 3 (ipykernel)",
272272
"language": "python",
273273
"name": "python3"
274274
},
@@ -282,9 +282,9 @@
282282
"name": "python",
283283
"nbconvert_exporter": "python",
284284
"pygments_lexer": "ipython3",
285-
"version": "3.6.9"
285+
"version": "3.8.10"
286286
}
287287
},
288288
"nbformat": 4,
289-
"nbformat_minor": 2
289+
"nbformat_minor": 4
290290
}

0 commit comments

Comments
 (0)