image thumbnail

Ancestral polytree

by

 

01 Feb 2013 (Updated )

The code here provides the algorithm of learning ancestral polytree.

ConstructLGObj( OriginalSample )
function LGObj = ConstructLGObj( OriginalSample )

    LGObj.Miss = -1;
    LGObj.VarNumber  = size( OriginalSample,2 );
    LGObj.CaseLength = size( OriginalSample,1 );
    
    LGObj.OriginalSample = OriginalSample;
    [ LGObj.VarRange,LGObj.VarRangeLength ] = DimensionRangeValue( OriginalSample,1 : LGObj.VarNumber );
    
end

Contact us