locked
Wrappers for infer.net RRS feed

  • Question

  • What would it take to write wrappers for infer.net in other languages? I would have some interest in writing wrappers in julia. 
    Wednesday, September 6, 2017 12:48 AM

Answers

  • That depends heavily on whether the language already has an interface to .NET.  As far as I know, Julia only provides an interface to C.  You can go from C to .NET through COM or through C++/CLI.  Rather than wrap the entire Infer.NET API in COM or C++/CLI, the more general approach would wrap the .NET reflection API.  Using .NET reflection, you can construct any .NET type or call any .NET method by string name.  I've used that method before to interface with .NET and it worked quite well.  The interface from Julia would look like:  call.net("Variable.Bernoulli", 0.4).
    • Proposed as answer by cyentist Wednesday, September 6, 2017 3:54 PM
    • Unproposed as answer by cyentist Wednesday, September 6, 2017 9:25 PM
    • Marked as answer by bdeonovic Wednesday, September 13, 2017 2:37 AM
    Wednesday, September 6, 2017 5:48 AM
    Owner