-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
enhancementNew feature or requestNew feature or request
Description
- Modify
pctrainby adding a--extract-features <path>.opcfeat.binparameter. When set, execution should stop at https://github.com/uav4geo/OpenPointClass/blob/main/randomforest.cpp#L30 and https://github.com/uav4geo/OpenPointClass/blob/main/gbm.cpp#L45 - Serialize the required vectors (for RF that's
gt,ft, GBT populates the structures similarly although not identically). It might also be possible to serialize in a single format regardless of RF or GBT if one creates a new function that simply does the serialization (liketrain, but stops after creating the features). One might want to encode the variousscale,radius,treeDepth, etc. parameters into the serialized output to avoid repeating them and validating other serialized outputs. All serialized output's parameters from different processes need to match. - Modify
pctrainby checking for.opcfeat.binfile input extensions; if all files passed as input are.opcfeat.bin, then read features directly instead of computing them by adapting therf::trainandgbt::trainfunctions. If you have serialized thescale,radius, etc. parameters one can read them from the serialized files instead of passing them manually.
hobu
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request