Mercurial > repos > bgruening > sklearn_sample_generator
comparison sample_generator.xml @ 23:4ba68dd788b3 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 57f4407e278a615f47a377a3328782b1d8e0b54d
author | bgruening |
---|---|
date | Sun, 30 Dec 2018 01:52:56 -0500 |
parents | c02c2bf137ab |
children | 1e99cfb71f40 |
comparison
equal
deleted
inserted
replaced
22:3bdb5b6c8ee8 | 23:4ba68dd788b3 |
---|---|
30 my_points, my_targets = my_function(**options) | 30 my_points, my_targets = my_function(**options) |
31 | 31 |
32 points_df = pandas.DataFrame(my_points) | 32 points_df = pandas.DataFrame(my_points) |
33 targets_df = pandas.DataFrame(my_targets) | 33 targets_df = pandas.DataFrame(my_targets) |
34 res = pandas.concat([points_df, targets_df], axis=1) | 34 res = pandas.concat([points_df, targets_df], axis=1) |
35 res.to_csv(path_or_buf = "$outfile", sep="\t", index=False) | 35 res.to_csv(path_or_buf = "$outfile", sep="\t", index=False, float_format='%.14f') |
36 | 36 |
37 ]]> | 37 ]]> |
38 </configfile> | 38 </configfile> |
39 </configfiles> | 39 </configfiles> |
40 <inputs> | 40 <inputs> |
236 </outputs> | 236 </outputs> |
237 <tests> | 237 <tests> |
238 <test> | 238 <test> |
239 <param name="selected_generator" value="make_blobs"/> | 239 <param name="selected_generator" value="make_blobs"/> |
240 <param name="random_state" value="100"/> | 240 <param name="random_state" value="100"/> |
241 <output name="outfile" file="blobs.txt"/> | 241 <output name="outfile" file="blobs.txt" compare="sim_size" delta="1"/> |
242 </test> | 242 </test> |
243 <test> | 243 <test> |
244 <param name="selected_generator" value="make_classification"/> | 244 <param name="selected_generator" value="make_classification"/> |
245 <param name="random_state" value="100"/> | 245 <param name="random_state" value="100"/> |
246 <output name="outfile" file="class.txt" compare="sim_size" /> | 246 <output name="outfile" file="class.txt" compare="sim_size" /> |
247 </test> | 247 </test> |
248 <test> | 248 <test> |
249 <param name="selected_generator" value="make_circles"/> | 249 <param name="selected_generator" value="make_circles"/> |
250 <param name="random_state" value="100"/> | 250 <param name="random_state" value="100"/> |
251 <output name="outfile" file="circles.txt"/> | 251 <output name="outfile" file="circles.txt" compare="sim_size" delta="1"/> |
252 </test> | 252 </test> |
253 <test> | 253 <test> |
254 <param name="selected_generator" value="make_friedman1"/> | 254 <param name="selected_generator" value="make_friedman1"/> |
255 <param name="random_state" value="100"/> | 255 <param name="random_state" value="100"/> |
256 <output name="outfile" file="friedman1.txt"/> | 256 <output name="outfile" file="friedman1.txt" compare="sim_size" delta="1"/> |
257 </test> | 257 </test> |
258 <test> | 258 <test> |
259 <param name="selected_generator" value="make_friedman2"/> | 259 <param name="selected_generator" value="make_friedman2"/> |
260 <param name="random_state" value="100"/> | 260 <param name="random_state" value="100"/> |
261 <output name="outfile" file="friedman2.txt"/> | 261 <output name="outfile" file="friedman2.txt" compare="sim_size" delta="1"/> |
262 </test> | 262 </test> |
263 <test> | 263 <test> |
264 <param name="selected_generator" value="make_friedman3"/> | 264 <param name="selected_generator" value="make_friedman3"/> |
265 <param name="random_state" value="100"/> | 265 <param name="random_state" value="100"/> |
266 <output name="outfile" file="friedman3.txt"/> | 266 <output name="outfile" file="friedman3.txt" compare="sim_size" delta="1"/> |
267 </test> | 267 </test> |
268 <test> | 268 <test> |
269 <param name="selected_generator" value="make_gaussian_quantiles"/> | 269 <param name="selected_generator" value="make_gaussian_quantiles"/> |
270 <param name="random_state" value="100"/> | 270 <param name="random_state" value="100"/> |
271 <output name="outfile" file="gaus.txt"/> | 271 <output name="outfile" file="gaus.txt" compare="sim_size" delta="1"/> |
272 </test> | 272 </test> |
273 <test> | 273 <test> |
274 <param name="selected_generator" value="make_hastie_10_2"/> | 274 <param name="selected_generator" value="make_hastie_10_2"/> |
275 <param name="random_state" value="100"/> | 275 <param name="random_state" value="100"/> |
276 <output name="outfile" file="hastie.txt" compare="contains"/> | 276 <output name="outfile" file="hastie.txt" compare="sim_size" delta="1"/> |
277 </test> | 277 </test> |
278 <test> | 278 <test> |
279 <param name="selected_generator" value="make_moons"/> | 279 <param name="selected_generator" value="make_moons"/> |
280 <param name="random_state" value="100"/> | 280 <param name="random_state" value="100"/> |
281 <output name="outfile" file="moons.txt"/> | 281 <output name="outfile" file="moons.txt" compare="sim_size" delta="1"/> |
282 </test> | 282 </test> |
283 <test> | 283 <test> |
284 <param name="selected_generator" value="make_regression"/> | 284 <param name="selected_generator" value="make_regression"/> |
285 <param name="random_state" value="100"/> | 285 <param name="random_state" value="100"/> |
286 <output name="outfile" file="regression.txt" compare="sim_size" /> | 286 <output name="outfile" file="regression.txt" compare="sim_size" delta="1" /> |
287 </test> | 287 </test> |
288 <test> | 288 <test> |
289 <param name="selected_generator" value="make_s_curve"/> | 289 <param name="selected_generator" value="make_s_curve"/> |
290 <param name="random_state" value="100"/> | 290 <param name="random_state" value="100"/> |
291 <output name="outfile" file="scurve.txt"/> | 291 <output name="outfile" file="scurve.txt" compare="sim_size" delta="1"/> |
292 </test> | 292 </test> |
293 <test> | 293 <test> |
294 <param name="selected_generator" value="make_sparse_uncorrelated"/> | 294 <param name="selected_generator" value="make_sparse_uncorrelated"/> |
295 <param name="random_state" value="100"/> | 295 <param name="random_state" value="100"/> |
296 <output name="outfile" file="sparse_u.txt"/> | 296 <output name="outfile" file="sparse_u.txt" compare="sim_size" delta="1"/> |
297 </test> | 297 </test> |
298 <test> | 298 <test> |
299 <param name="selected_generator" value="make_swiss_roll"/> | 299 <param name="selected_generator" value="make_swiss_roll"/> |
300 <param name="random_state" value="100"/> | 300 <param name="random_state" value="100"/> |
301 <output name="outfile" file="swiss_r.txt"/> | 301 <output name="outfile" file="swiss_r.txt" compare="sim_size" delta="1"/> |
302 </test> | 302 </test> |
303 </tests> | 303 </tests> |
304 <help> | 304 <help> |
305 <![CDATA[ | 305 <![CDATA[ |
306 **What it does** | 306 **What it does** |