Mercurial > repos > bgruening > ml_visualization_ex
comparison test-data/keras02.json @ 4:6b94d76a1397 draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 5b2ac730ec6d3b762faa9034eddd19ad1b347476"
author | bgruening |
---|---|
date | Mon, 16 Dec 2019 05:40:29 -0500 |
parents | f96efab83b65 |
children | 9c19cf3c4ea0 |
comparison
equal
deleted
inserted
replaced
3:72c0d2747dc9 | 4:6b94d76a1397 |
---|---|
1 {"class_name": "Model", "config": {"name": "model_1", "layers": [{"name": "main_input", "class_name": "InputLayer", "config": {"batch_input_shape": [null, 100], "dtype": "int32", "sparse": false, "name": "main_input"}, "inbound_nodes": []}, {"name": "embedding_1", "class_name": "Embedding", "config": {"name": "embedding_1", "trainable": true, "batch_input_shape": [null, 100], "dtype": "float32", "input_dim": 10000, "output_dim": 512, "embeddings_initializer": {"class_name": "RandomUniform", "config": {"minval": -0.05, "maxval": 0.05, "seed": null}}, "embeddings_regularizer": null, "activity_regularizer": null, "embeddings_constraint": null, "mask_zero": false, "input_length": 100}, "inbound_nodes": [[["main_input", 0, 0, {}]]]}, {"name": "lstm_1", "class_name": "LSTM", "config": {"name": "lstm_1", "trainable": true, "return_sequences": false, "return_state": false, "go_backwards": false, "stateful": false, "unroll": false, "units": 32, "activation": "tanh", "recurrent_activation": "hard_sigmoid", "use_bias": true, "kernel_initializer": {"class_name": "VarianceScaling", "config": {"scale": 1.0, "mode": "fan_avg", "distribution": "uniform", "seed": null}}, "recurrent_initializer": {"class_name": "Orthogonal", "config": {"gain": 1.0, "seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "unit_forget_bias": true, "kernel_regularizer": null, "recurrent_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "recurrent_constraint": null, "bias_constraint": null, "dropout": 0.0, "recurrent_dropout": 0.0, "implementation": 1}, "inbound_nodes": [[["embedding_1", 0, 0, {}]]]}, {"name": "dense_1", "class_name": "Dense", "config": {"name": "dense_1", "trainable": true, "units": 1, "activation": "sigmoid", "use_bias": true, "kernel_initializer": {"class_name": "VarianceScaling", "config": {"scale": 1.0, "mode": "fan_avg", "distribution": "uniform", "seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "inbound_nodes": [[["lstm_1", 0, 0, {}]]]}, {"name": "aux_input", "class_name": "InputLayer", "config": {"batch_input_shape": [null, 5], "dtype": "float32", "sparse": false, "name": "aux_input"}, "inbound_nodes": []}, {"name": "concatenate_1", "class_name": "Concatenate", "config": {"name": "concatenate_1", "trainable": true, "axis": -1}, "inbound_nodes": [[["dense_1", 0, 0, {}], ["aux_input", 0, 0, {}]]]}, {"name": "dense_2", "class_name": "Dense", "config": {"name": "dense_2", "trainable": true, "units": 64, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "VarianceScaling", "config": {"scale": 1.0, "mode": "fan_avg", "distribution": "uniform", "seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "inbound_nodes": [[["concatenate_1", 0, 0, {}]]]}, {"name": "dense_3", "class_name": "Dense", "config": {"name": "dense_3", "trainable": true, "units": 64, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "VarianceScaling", "config": {"scale": 1.0, "mode": "fan_avg", "distribution": "uniform", "seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "inbound_nodes": [[["dense_2", 0, 0, {}]]]}, {"name": "dense_4", "class_name": "Dense", "config": {"name": "dense_4", "trainable": true, "units": 64, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "VarianceScaling", "config": {"scale": 1.0, "mode": "fan_avg", "distribution": "uniform", "seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "inbound_nodes": [[["dense_3", 0, 0, {}]]]}, {"name": "dense_5", "class_name": "Dense", "config": {"name": "dense_5", "trainable": true, "units": 1, "activation": "sigmoid", "use_bias": true, "kernel_initializer": {"class_name": "VarianceScaling", "config": {"scale": 1.0, "mode": "fan_avg", "distribution": "uniform", "seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "inbound_nodes": [[["dense_4", 0, 0, {}]]]}], "input_layers": [["main_input", 0, 0], ["aux_input", 0, 0]], "output_layers": [["dense_1", 0, 0], ["dense_5", 0, 0]]}, "keras_version": "2.2.4", "backend": "tensorflow"} | 1 { |
2 "class_name": "Model", | |
3 "config": { | |
4 "name": "model_1", | |
5 "layers": [ | |
6 { | |
7 "name": "main_input", | |
8 "class_name": "InputLayer", | |
9 "config": { | |
10 "batch_input_shape": [ | |
11 null, | |
12 100 | |
13 ], | |
14 "dtype": "int32", | |
15 "sparse": false, | |
16 "name": "main_input" | |
17 }, | |
18 "inbound_nodes": [] | |
19 }, | |
20 { | |
21 "name": "embedding_1", | |
22 "class_name": "Embedding", | |
23 "config": { | |
24 "name": "embedding_1", | |
25 "trainable": true, | |
26 "batch_input_shape": [ | |
27 null, | |
28 100 | |
29 ], | |
30 "dtype": "float32", | |
31 "input_dim": 10000, | |
32 "output_dim": 512, | |
33 "embeddings_initializer": { | |
34 "class_name": "RandomUniform", | |
35 "config": { | |
36 "minval": -0.05, | |
37 "maxval": 0.05, | |
38 "seed": null | |
39 } | |
40 }, | |
41 "embeddings_regularizer": null, | |
42 "activity_regularizer": null, | |
43 "embeddings_constraint": null, | |
44 "mask_zero": false, | |
45 "input_length": 100 | |
46 }, | |
47 "inbound_nodes": [ | |
48 [ | |
49 [ | |
50 "main_input", | |
51 0, | |
52 0, | |
53 {} | |
54 ] | |
55 ] | |
56 ] | |
57 }, | |
58 { | |
59 "name": "lstm_1", | |
60 "class_name": "LSTM", | |
61 "config": { | |
62 "name": "lstm_1", | |
63 "trainable": true, | |
64 "dtype": "float32", | |
65 "return_sequences": false, | |
66 "return_state": false, | |
67 "go_backwards": false, | |
68 "stateful": false, | |
69 "unroll": false, | |
70 "units": 32, | |
71 "activation": "tanh", | |
72 "recurrent_activation": "sigmoid", | |
73 "use_bias": true, | |
74 "kernel_initializer": { | |
75 "class_name": "VarianceScaling", | |
76 "config": { | |
77 "scale": 1.0, | |
78 "mode": "fan_avg", | |
79 "distribution": "uniform", | |
80 "seed": null | |
81 } | |
82 }, | |
83 "recurrent_initializer": { | |
84 "class_name": "Orthogonal", | |
85 "config": { | |
86 "gain": 1.0, | |
87 "seed": null | |
88 } | |
89 }, | |
90 "bias_initializer": { | |
91 "class_name": "Zeros", | |
92 "config": {} | |
93 }, | |
94 "unit_forget_bias": true, | |
95 "kernel_regularizer": null, | |
96 "recurrent_regularizer": null, | |
97 "bias_regularizer": null, | |
98 "activity_regularizer": null, | |
99 "kernel_constraint": null, | |
100 "recurrent_constraint": null, | |
101 "bias_constraint": null, | |
102 "dropout": 0.0, | |
103 "recurrent_dropout": 0.0, | |
104 "implementation": 2 | |
105 }, | |
106 "inbound_nodes": [ | |
107 [ | |
108 [ | |
109 "embedding_1", | |
110 0, | |
111 0, | |
112 {} | |
113 ] | |
114 ] | |
115 ] | |
116 }, | |
117 { | |
118 "name": "dense_1", | |
119 "class_name": "Dense", | |
120 "config": { | |
121 "name": "dense_1", | |
122 "trainable": true, | |
123 "dtype": "float32", | |
124 "units": 1, | |
125 "activation": "sigmoid", | |
126 "use_bias": true, | |
127 "kernel_initializer": { | |
128 "class_name": "VarianceScaling", | |
129 "config": { | |
130 "scale": 1.0, | |
131 "mode": "fan_avg", | |
132 "distribution": "uniform", | |
133 "seed": null | |
134 } | |
135 }, | |
136 "bias_initializer": { | |
137 "class_name": "Zeros", | |
138 "config": {} | |
139 }, | |
140 "kernel_regularizer": null, | |
141 "bias_regularizer": null, | |
142 "activity_regularizer": null, | |
143 "kernel_constraint": null, | |
144 "bias_constraint": null | |
145 }, | |
146 "inbound_nodes": [ | |
147 [ | |
148 [ | |
149 "lstm_1", | |
150 0, | |
151 0, | |
152 {} | |
153 ] | |
154 ] | |
155 ] | |
156 }, | |
157 { | |
158 "name": "aux_input", | |
159 "class_name": "InputLayer", | |
160 "config": { | |
161 "batch_input_shape": [ | |
162 null, | |
163 5 | |
164 ], | |
165 "dtype": "float32", | |
166 "sparse": false, | |
167 "name": "aux_input" | |
168 }, | |
169 "inbound_nodes": [] | |
170 }, | |
171 { | |
172 "name": "concatenate_1", | |
173 "class_name": "Concatenate", | |
174 "config": { | |
175 "name": "concatenate_1", | |
176 "trainable": true, | |
177 "dtype": "float32", | |
178 "axis": -1 | |
179 }, | |
180 "inbound_nodes": [ | |
181 [ | |
182 [ | |
183 "dense_1", | |
184 0, | |
185 0, | |
186 {} | |
187 ], | |
188 [ | |
189 "aux_input", | |
190 0, | |
191 0, | |
192 {} | |
193 ] | |
194 ] | |
195 ] | |
196 }, | |
197 { | |
198 "name": "dense_2", | |
199 "class_name": "Dense", | |
200 "config": { | |
201 "name": "dense_2", | |
202 "trainable": true, | |
203 "dtype": "float32", | |
204 "units": 64, | |
205 "activation": "relu", | |
206 "use_bias": true, | |
207 "kernel_initializer": { | |
208 "class_name": "VarianceScaling", | |
209 "config": { | |
210 "scale": 1.0, | |
211 "mode": "fan_avg", | |
212 "distribution": "uniform", | |
213 "seed": null | |
214 } | |
215 }, | |
216 "bias_initializer": { | |
217 "class_name": "Zeros", | |
218 "config": {} | |
219 }, | |
220 "kernel_regularizer": null, | |
221 "bias_regularizer": null, | |
222 "activity_regularizer": null, | |
223 "kernel_constraint": null, | |
224 "bias_constraint": null | |
225 }, | |
226 "inbound_nodes": [ | |
227 [ | |
228 [ | |
229 "concatenate_1", | |
230 0, | |
231 0, | |
232 {} | |
233 ] | |
234 ] | |
235 ] | |
236 }, | |
237 { | |
238 "name": "dense_3", | |
239 "class_name": "Dense", | |
240 "config": { | |
241 "name": "dense_3", | |
242 "trainable": true, | |
243 "dtype": "float32", | |
244 "units": 64, | |
245 "activation": "relu", | |
246 "use_bias": true, | |
247 "kernel_initializer": { | |
248 "class_name": "VarianceScaling", | |
249 "config": { | |
250 "scale": 1.0, | |
251 "mode": "fan_avg", | |
252 "distribution": "uniform", | |
253 "seed": null | |
254 } | |
255 }, | |
256 "bias_initializer": { | |
257 "class_name": "Zeros", | |
258 "config": {} | |
259 }, | |
260 "kernel_regularizer": null, | |
261 "bias_regularizer": null, | |
262 "activity_regularizer": null, | |
263 "kernel_constraint": null, | |
264 "bias_constraint": null | |
265 }, | |
266 "inbound_nodes": [ | |
267 [ | |
268 [ | |
269 "dense_2", | |
270 0, | |
271 0, | |
272 {} | |
273 ] | |
274 ] | |
275 ] | |
276 }, | |
277 { | |
278 "name": "dense_4", | |
279 "class_name": "Dense", | |
280 "config": { | |
281 "name": "dense_4", | |
282 "trainable": true, | |
283 "dtype": "float32", | |
284 "units": 64, | |
285 "activation": "relu", | |
286 "use_bias": true, | |
287 "kernel_initializer": { | |
288 "class_name": "VarianceScaling", | |
289 "config": { | |
290 "scale": 1.0, | |
291 "mode": "fan_avg", | |
292 "distribution": "uniform", | |
293 "seed": null | |
294 } | |
295 }, | |
296 "bias_initializer": { | |
297 "class_name": "Zeros", | |
298 "config": {} | |
299 }, | |
300 "kernel_regularizer": null, | |
301 "bias_regularizer": null, | |
302 "activity_regularizer": null, | |
303 "kernel_constraint": null, | |
304 "bias_constraint": null | |
305 }, | |
306 "inbound_nodes": [ | |
307 [ | |
308 [ | |
309 "dense_3", | |
310 0, | |
311 0, | |
312 {} | |
313 ] | |
314 ] | |
315 ] | |
316 }, | |
317 { | |
318 "name": "dense_5", | |
319 "class_name": "Dense", | |
320 "config": { | |
321 "name": "dense_5", | |
322 "trainable": true, | |
323 "dtype": "float32", | |
324 "units": 1, | |
325 "activation": "sigmoid", | |
326 "use_bias": true, | |
327 "kernel_initializer": { | |
328 "class_name": "VarianceScaling", | |
329 "config": { | |
330 "scale": 1.0, | |
331 "mode": "fan_avg", | |
332 "distribution": "uniform", | |
333 "seed": null | |
334 } | |
335 }, | |
336 "bias_initializer": { | |
337 "class_name": "Zeros", | |
338 "config": {} | |
339 }, | |
340 "kernel_regularizer": null, | |
341 "bias_regularizer": null, | |
342 "activity_regularizer": null, | |
343 "kernel_constraint": null, | |
344 "bias_constraint": null | |
345 }, | |
346 "inbound_nodes": [ | |
347 [ | |
348 [ | |
349 "dense_4", | |
350 0, | |
351 0, | |
352 {} | |
353 ] | |
354 ] | |
355 ] | |
356 } | |
357 ], | |
358 "input_layers": [ | |
359 [ | |
360 "main_input", | |
361 0, | |
362 0 | |
363 ], | |
364 [ | |
365 "aux_input", | |
366 0, | |
367 0 | |
368 ] | |
369 ], | |
370 "output_layers": [ | |
371 [ | |
372 "dense_1", | |
373 0, | |
374 0 | |
375 ], | |
376 [ | |
377 "dense_5", | |
378 0, | |
379 0 | |
380 ] | |
381 ] | |
382 }, | |
383 "keras_version": "2.3.1", | |
384 "backend": "tensorflow" | |
385 } |