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
"SVM: How to write weight table"
Legacy User
Member Posts: 0 Newbie
Answers
maybe this is enough:
just select one cell in the graphical view and press Ctrl-A (select all cells, alternatively you can select them by dragging your mouse), then press Ctrl-C (copy) and insert the contents into Excel / OpenOffice / ...
From there you can save the file. This of course does not work for automatic processes. For writing those tables into files in a fully automated fashion, you could use the Reporting Engine / Reporting Operators available in the Enterprise Edition only.
Cheers,
Ingo
thanks for the quick reply. Indeed, I'm looking for a programmatic solution to allow post-processing. So, I'm probably left with the option of looking into the XML file of the model... (Enterprise seems to create HTML and PDF only? - in any case, I wouldn't have the $$ right now )
Btw., the .mod files lack the closure </object-stream> in RM 1.42
Kind regards Stefan
an additional note: at least the JMySVM operator provides a parameter "calculate_weights" which will deliver the normal vector coefficients. A similar result can be obtained from the SVMWeighting operator. For the support vectors, you could also think of writing a new operator deriving the support vectors from the kernel model. This might be actually easier than extracting the SV from the XML file. Just a few thoughts,
Cheers,
Ingo