From here you'll navigate to the SMILE folder you unzipped.
Select the SMILE folder you created from the ZIP file.
Click OK here.
Search found 71 matches
- Sun Nov 27, 2016 5:02 pm
- Forum: SMILE
- Topic: Using SMILE with Visual Studio 2015 C++
- Replies: 11
- Views: 267609
- Sun Nov 27, 2016 4:59 pm
- Forum: SMILE
- Topic: Using SMILE with Visual Studio 2015 C++
- Replies: 11
- Views: 267609
Re: Using SMILE with Visual Studio 2015 C++
Click on the field next to Include Directories and select <Edit...> .
Visual Studio Include Directories.png
Click on the Folder icon in this window.
Visual Studio Include Directories Folder Selector.JPG
Then click on the ellipses (...).
Visual Studio Include Directories Folder Selector 2 ...
Visual Studio Include Directories.png
Click on the Folder icon in this window.
Visual Studio Include Directories Folder Selector.JPG
Then click on the ellipses (...).
Visual Studio Include Directories Folder Selector 2 ...
- Sun Nov 27, 2016 4:53 pm
- Forum: SMILE
- Topic: Using SMILE with Visual Studio 2015 C++
- Replies: 11
- Views: 267609
Re: Using SMILE with Visual Studio 2015 C++
In the Solution Explorer window right-click on SMILE Sample Application (or whatever you named your application).
Visual Studio Solution Explorer.JPG
Select Properties .
Visual Studio Solution Explorer Properties.png
On the properties page select VC++ Directories .
Visual Studio Properties ...
Visual Studio Solution Explorer.JPG
Select Properties .
Visual Studio Solution Explorer Properties.png
On the properties page select VC++ Directories .
Visual Studio Properties ...
- Sun Nov 27, 2016 4:46 pm
- Forum: SMILE
- Topic: Using SMILE with Visual Studio 2015 C++
- Replies: 11
- Views: 267609
Using SMILE with Visual Studio 2015 C++
There are some hard to find configurations I had to do to get SMILE to work with Visual Studio C++.
Here are the instructions I followed.
First, download SMILE for Visual Studio 2015; the 64 bit version. Here's the download page: https://download.bayesfusion.com/files.html?category=Business#SMILE ...
Here are the instructions I followed.
First, download SMILE for Visual Studio 2015; the 64 bit version. Here's the download page: https://download.bayesfusion.com/files.html?category=Business#SMILE ...
- Sat Nov 26, 2016 7:33 pm
- Forum: SMILE
- Topic: Node Class
- Replies: 4
- Views: 11985
Re: Node Class
Thanks!!
You're my hero.
You're my hero.
- Fri Nov 25, 2016 8:32 pm
- Forum: SMILE
- Topic: Pointer to Number of Outcomes
- Replies: 1
- Views: 7347
Pointer to Number of Outcomes
Is there any way I can set up a pointer to the number of outcomes in a node rather than having to interrogate it with "GetNumberOfOutcomes"?
Code: Select all
numberOfOutcomes = = theNet.GetNode(nodeHandle)->Definition()->GetNumberOfOutcomes();
- Fri Nov 25, 2016 8:24 pm
- Forum: SMILE
- Topic: Pointer to DSL_nodeInfo object
- Replies: 1
- Views: 7498
Pointer to DSL_nodeInfo object
I'm able to set up pointers to DSL_node and DSL_nodeDefinition objects.
NODE_nodeClass {
DSL_node * nodePtr;
DSL_nodeDefinition * nodeDefinitionPtr;
}
// . . . code in non constructor method of NODE_nodeClass:
nodePtr = theNet.GetNode(nodeHandle);
nodeDefinitionPtr = theNet.GetNode ...
NODE_nodeClass {
DSL_node * nodePtr;
DSL_nodeDefinition * nodeDefinitionPtr;
}
// . . . code in non constructor method of NODE_nodeClass:
nodePtr = theNet.GetNode(nodeHandle);
nodeDefinitionPtr = theNet.GetNode ...
- Fri Nov 25, 2016 8:05 pm
- Forum: SMILE
- Topic: Node Class
- Replies: 4
- Views: 11985
Re: Node Class
Thanks for the reply; especially during a holiday!
I did what you suggested and ran into another problem. This original code you suggested works:
class NODE_nodeClass{
DSL_idArray nodeStates;
int numberOfStates = 0;
}
...
// in a body of non-constructor method of NODE_nodeClass:
DSL ...
I did what you suggested and ran into another problem. This original code you suggested works:
class NODE_nodeClass{
DSL_idArray nodeStates;
int numberOfStates = 0;
}
...
// in a body of non-constructor method of NODE_nodeClass:
DSL ...
- Thu Nov 24, 2016 6:12 pm
- Forum: SMILE
- Topic: Node Class
- Replies: 4
- Views: 11985
Node Class
You showed me this code in a previous post:
DSL_node *nodeDefinitionPtr= theNet.GetNode(nodeHandle);
DSL_nodeDefinition *nodeDefinitionPtr= parentNode->Definition();
DSL_Dmatrix &cpt= *nodeDefinitionPtr->GetMatrix();
It enables me to simplify this:
theNet.GetNode(nodeHandle ...
DSL_node *nodeDefinitionPtr= theNet.GetNode(nodeHandle);
DSL_nodeDefinition *nodeDefinitionPtr= parentNode->Definition();
DSL_Dmatrix &cpt= *nodeDefinitionPtr->GetMatrix();
It enables me to simplify this:
theNet.GetNode(nodeHandle ...
- Fri Nov 18, 2016 7:34 pm
- Forum: SMILE
- Topic: int Ok(int aNode)
- Replies: 1
- Views: 7267
int Ok(int aNode)
This is the OK function for nodes:
Is this the OK function for submodels?
Code: Select all
int nodeOK = theNet.Ok(nodeHandle);
Code: Select all
int submodelOK = theNet.GetSubmodelHandler().Ok(submodelHandle);
- Mon Nov 14, 2016 1:07 am
- Forum: SMILE
- Topic: SMILE Documentation Update
- Replies: 1
- Views: 8005
SMILE Documentation Update
When will you all be finished with updated SMILE documentation?
- Fri Nov 11, 2016 7:55 pm
- Forum: SMILE
- Topic: Get Error Message
- Replies: 1
- Views: 6992
Get Error Message
I tried to get an error string with GetErrorMessage.
It doesn't work.
Code: Select all
DSL_errorStringHandler errorHandler;
cout << errorHandler.GetErrorMessage(-2) << endl;
- Sun Nov 06, 2016 6:17 pm
- Forum: SMILE
- Topic: Parent State Names
- Replies: 1
- Views: 8373
Re: Parent State Names
I think I've figured this out.
Get the parents with this code.
DSL_intArray parentHandles = theNet.GetParents(nodeHandle);
int numberOfParents = theNet.NumParents(nodeHandle);
Then get the states with this code.
for (int parentIdx = 0; parentIdx < numberOfParents; parentIdx++) {
DSL_node ...
Get the parents with this code.
DSL_intArray parentHandles = theNet.GetParents(nodeHandle);
int numberOfParents = theNet.NumParents(nodeHandle);
Then get the states with this code.
for (int parentIdx = 0; parentIdx < numberOfParents; parentIdx++) {
DSL_node ...
- Fri Nov 04, 2016 11:37 pm
- Forum: SMILE
- Topic: Parent State Names
- Replies: 1
- Views: 8373
Parent State Names
In the other forum you provided the following code snippet that set probabilities (weights) for a Noisy Max node.
// NoisyMaxDemo.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "smile.h"
int main()
{
DSL_network net;
int ret = net.ReadFile("noisymax ...
// NoisyMaxDemo.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "smile.h"
int main()
{
DSL_network net;
int ret = net.ReadFile("noisymax ...
- Sat Oct 29, 2016 4:38 pm
- Forum: SMILE
- Topic: Normalize & Compliment
- Replies: 2
- Views: 10927
Normalize & Compliment
Please post an example of the Normalize and Compliment functions for DSL_Dmatrix.