Skip to content

Segfault with num_expansions=-1 #2

@HaydenMcT

Description

@HaydenMcT

Hello,

I seem to be getting segfaults when running maptree with num_expansions=-1, for several datasets. I've attached a small example dataset (10 rows, 2 features) where I seem to be encountering this issue (running from one of my department's linux machines, following the installation guide on the readme, using python 3.10.12):
small.txt

Here is an example call which leads to a segfault for me:

from maptree import search as maptree_search
from experiments.globals import load_binary_data

alpha = 0.95
beta = 0.5
rho = (2.5, 2.5)
num_expansions = -1
time_limit = 60

X_train, y_train = load_binary_data('small.txt')

sol = maptree_search(X_train, y_train, alpha, beta, rho, num_expansions, time_limit)

Any guidance you can provide would be much appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions