필터 지우기
필터 지우기

Should I use parfor on an already multithreaded function (decision tree,...)?

조회 수: 1 (최근 30일)
Dang Manh Truong
Dang Manh Truong 2017년 2월 11일
답변: Jan 2017년 2월 11일
Hi, I want to train many decision trees in parallel by using parfor, but I've heard elsewhere that they are multithreaded, so should I use parfor with them? I tried on some datasets, but they seem to be slower. However I don't know if things would be the same for very large datasets. Please help me, my understanding of parallel processing is very limited, I don't even understand the difference between process and thread, thank you very much

답변 (1개)

Jan
Jan 2017년 2월 11일
Trying is the best way to find out, if it runs faster or not. There is no general best way and it depends on the data and the algorithm.

카테고리

Help CenterFile Exchange에서 Parallel for-Loops (parfor)에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by