PySMILE released
-
- Site Admin
- Posts: 1443
- Joined: Mon Nov 26, 2007 5:51 pm
PySMILE released
We have released PySMILE - Python 2.x wrapper for SMILE. It's available at our download site.
Re: PySMILE released
Thanks for the package. Is there allready any documentation available?
It's not clear to me how te create an empty network instance with pysmile to which I can apply network.read_file.
It's not clear to me how te create an empty network instance with pysmile to which I can apply network.read_file.
-
- Site Admin
- Posts: 1443
- Joined: Mon Nov 26, 2007 5:51 pm
Re: PySMILE released
You can create the empty network instance with pysmile.network(). Here's the example Python 2.x code:
Code: Select all
import pysmile
# use your license instead of the placeholder in the line below this one
pysmile.license((
"SMILE LICENSE .... "
"Issued by BayesFusion activation server"
),[
0xab,0xcd,0xef,...])
net = pysmile.network()
net.read_file("Hepar.xdsl")
net.get_all_node_ids()