I am looking to utilize a Random Forest Regressor in Go using the golearn repository (https://github.com/sjwhitworth/golearn). As far as I know, golearn only supports random forest classifiers, which make predictions with a class and probability (https://github.com/sjwhitworth/golearn/blob/master/trees/id3.go#L413).
Is there an easy way to utilize the predicted probability from a classifier and use it to form a scalar prediction (equivalent to that from a regressor)?
Thanks in advance!