Skip to content

CARRIER-project/vantage6-algorithm-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vantage6-algorithm-tester

How to use

Pick the vantage6 algorithm of your choice. It could be your own docker image. We will pick harbor2.vantage6.ai/testing/v6-test-py.

Run the script as follows:

./run_algorithm.sh DOCKER_IMAGE

For our example this would be:

./run_algorithm.sh harbor2.vantage6.ai/testing/v6-test-py

The script will supply the algorithm with the files in the data/ directory. The default input is written in pickle format, but you can replace it with your own file.

The current input file contains a dict with input parameters that looks like the following:

{'method': 'column_names'}

The output file can be found in data/output. Our algorithm outputs to pickle by default. We can check the output in our case as follows:

import pickle
with open('./data/output', 'rb') as f:
    output = pickle.load(f)
 
print(output)

# Output: ['sepal_length', 'sepal_width', 'petal_length', 'petal_width', 'class']

References

  • Dua, D. and Graff, C. (2019). UCI Machine Learning Repository [http://archive.ics.uci.edu/ml]. Irvine, CA: University of California, School of Information and Computer Science.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published