structure learning problem

The engine.
Post Reply
snowave
Posts: 22
Joined: Mon Jan 25, 2016 1:27 pm

structure learning problem

Post by snowave »

hi, I have read my dataset into the ds object, i'm running structure learning below:
cout << "\nstructure learning1..." << endl;
DSL_greedyThickThinning gtt;
DSL_network net2;

if (gtt.Learn(ds, net2) != DSL_OKAY) {

cout << "Cannot learn structure... exiting." << endl;
exit(7);
}

net2.WriteFile("store_struct_gtt.xdsl", DSL_XDSL_FORMAT);

The problem is there is no error showing but gtt.Learn does not work. Using GeNie interface for my dataset is fine. The dataset contains 44 variables and 3000 records.

Thanks
Snowave
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: structure learning problem

Post by shooltz[BayesFusion] »

The problem is there is no error showing but gtt.Learn does not work
Do you mean your network has no nodes?
Post Reply