The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"Parallel processing on X-validation"
Parallel processing,
When using X-validation and the RM parallel processing plug in installed,
is RM evaluating classifier performance on each X-fold in parallel?
Best regards,
Wessel
When using X-validation and the RM parallel processing plug in installed,
is RM evaluating classifier performance on each X-fold in parallel?
Best regards,
Wessel
Tagged:
0
Answers
not automatically. But there exists a X-Validation (parallel) operator that will use multiple threads for computing it parallelly. Keep in mind, that it will use more memory, since each operator is executed parallely and each instance will create its data structures like for example the kernel cache of SVMs. But from my experience, you will recieve an increase of speed thats nearly linear in the number of cores/threads used.
Greetings,
Sebastian
When this is checked I experience synchronization problems. Did you guys actually implement some parallel smo algorithms for training? For testing it makes since since data can be split up and classified in parallel.
-Gagi
this check box is generally available on all sub process providing operators, but I would rather recommend to use it with caution. Using this checkbox the user has to decide if the process is actual paralellizable, if not, these synchronization problems might occur. I would recommend using the dedicated parallel operators to be sure.
We don't have implemented a parallel SMO, at least the X-Validation can be implemented parallel for each learning algorithm:
Since the Predictions are made only once on a single fold, these write accesses don't interfere and the reading of the data for learning is indeed no problem, so it can be carried out parallely, too. So you can speed up a ten fold X-Validation up to factor of ten by using ten threads on a machine with at least ten cores. Beyond this, you would need not only to execute the single threaded learning algorithm ten times, but have to make this paralell, too.
Greetings,
Sebastian
Could this also be a sync problem?
Thanks,
-Gagi ;D
sometimes using more threads than cores available avoids some still existent race conditions that prevent a thread from working all the time.
What problems do you encounter? Could you be a little bit more precise so that I can check if there are still problems?
Greetings,
Sebastian