EpistasisLab / EpistasisLab/tpot

Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)

Open
#762 5 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Jupyter Notebook
Stars
10.1k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

While running tpot with custom scoring function I get "Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)"

I run on osx 10.13.6.

```
def success_score(solution, prediction, recall_threshold=0.8):
recall = sklearn.metrics.recall_score(solution, prediction)
precision = sklearn.metrics.precision_score(solution, prediction)
score = 0.0001
if recall >= recall_threshold:
score = 0.5
score = score + precision * 0.5
return score

custom_scorer = sklearn.metrics.scorer.make_scorer(success_score, greater_is_better=True)

pipeline_optimizer = TPOTClassifier(
cv=10,
use_dask=False,
n_jobs = 4,
scoring=custom_scorer,
verbosity=3,
max_time_mins=10,
random_state=5)

pipeline_optimizer.fit(X_train, y_train)
print(pipeline_optimizer.score(X_test, y_test))
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.