Skip to content

Average algorithm using R and Python. Demos a few ways to get R code running in a vantage6 algorithm.

License

Notifications You must be signed in to change notification settings

mdw-nl/v6-average-r-py

Repository files navigation


vantage6

A privacy preserving federated learning solution


What's this?

This is a simple example of an algortihm using R and python. The goal is to demo a few ways of interacting with R within a vantage6 algorithm. This is a (workaround) stepping stone to (hopefully) future versions of vantage6-algorithm-tools, where running R code will be better supported.

It's based on the example average algorithm available here.

⚠️ Proof of concept. Use with care! ⚠️

Vantage6 in recent versions has somewhat deprecated support for R scripts. This repository is not indented to show a production-ready replacement of that support. Merely a starting point to work towards some way of running R scripts again in vantage6.

Albeit these workarounds do work, you must be careful when trying to implement something similar in your algorithm. Taking care of vetting user input, etc.

Also note that some features (like using multiple datasets concurrently) would be unsupported in this simple proof-of-concept code.

Two methods

TODO: Explain work around here


vantage6

About

Average algorithm using R and Python. Demos a few ways to get R code running in a vantage6 algorithm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages