cmu-phil / tetrad

Repository for the Tetrad Project, www.phil.cmu.edu/tetrad.
GNU General Public License v2.0
407 stars 111 forks source link

TestCheckNodewiseMarkov: Include permutation on the data columns. #1828

Closed vbcwonderland closed 1 week ago

vbcwonderland commented 2 weeks ago

Introduce permutation on the data columns as suggested. This would matter to some algorithms, for examaple, PC.

        DataSet data = im.simulateData(10000, false);
        data = DataTransforms.shuffleColumns(data); // Permute the data columns
        SemBicScore score = new SemBicScore(data, false);
        score.setPenaltyDiscount(2);
        Graph estimatedCpdag = new PermutationSearch(new Boss(score)).search();
vbcwonderland commented 2 weeks ago

Thank you Joe:D

On Tue, Nov 12, 2024 at 7:10 PM Joseph Ramsey @.***> wrote:

@.**** approved this pull request.

Looks good :)

— Reply to this email directly, view it on GitHub https://github.com/cmu-phil/tetrad/pull/1828#pullrequestreview-2431173196, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFUG7VF7PX2QXF7H5H7NBWL2AKKIHAVCNFSM6AAAAABRVBXTLGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDIMZRGE3TGMJZGY . You are receiving this because you authored the thread.Message ID: @.***>