-
Hi! This question might seem very simple, I apologize in advance, but I'm having trouble understanding what I must do to perform cluster classification using CGAL on my own dataset, already in PLY format. Is it just as simple as changing the file directory and labels to correspond to my data or do I have to change anything else (like the bin file, for example)? In case I need to change the bin file, or generate my own, is there any explanation on how to do it? Once again, I apologize for my question, I'm fairly new at working with CGAL and PLY in general. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello, The bin file is a saved trained classifier, which is inherently dependent on what you want to classify: it will only work if you use the same set of labels and features as in the example. Even then, it's not likely to give good results unless your data is, by chance, geometrically similar to the data of the example. The usual way to do classification is to provide a training set (a part of the data that you label by hand using whatever labels you want to classify) and to use the |
Beta Was this translation helpful? Give feedback.
Hello,
The bin file is a saved trained classifier, which is inherently dependent on what you want to classify: it will only work if you use the same set of labels and features as in the example. Even then, it's not likely to give good results unless your data is, by chance, geometrically similar to the data of the example.
The usual way to do classification is to provide a training set (a part of the data that you label by hand using whatever labels you want to classify) and to use the
train()
function of the classifier (see https://doc.cgal.org/latest/Classification/index.html#title26 ). Then, the trained classifier can be saved (in a bin file) and reused again later.