<< Click to Display Table of Contents >> Navigation: Using SMILE Wrappers > Input and Output |
SMILE supports two types of network I/O: string-based and file-based.
The native format for SMILE networks is XDSL. The format is XML-based and the definition schema is available at BayesFusion documentation website (http://support.bayesfusion.com/docs/). When writing network in this format to file, the .xdsl extension should be used.
XDSL is the only format supported by string I/O methods. File-based methods can read and write other formats. Depending on the feature parity between SMILE and the 3rd party software using other file types, some of the information may be lost.
Java:
Network.readFile
Network.writeFile
Network.readString
Network.writeString
Python:
Network.read_file
Network.write_file
Network.read_string
Network.write_string
R:
Network$readFile
Network$writeFile
Network$readString
Network$writeString
C#:
Network.ReadFile
Network.WriteFile
Network.ReadString
Network.WriteString