Skip to content

Using own PLY data for Cluster Classification using CGAL #5416

Answered by sgiraudot
pmff96 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@pmff96
Comment options

@sgiraudot
Comment options

@pmff96
Comment options

Answer selected by MaelRL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants