trinhan / crc-ihc-classification

0 stars 3 forks source link

About Compress.Scores #3

Closed SeYoungKim closed 6 years ago

SeYoungKim commented 6 years ago

Hello!

In RunClassifier.R file, it is using Compress.Scores function but couldn't find it...

Error in Compress.Scores(output, AMCdata.train$PatID$Pat, 2, 0.6) : 
  could not find function "Compress.Scores"

this error occured at

PatClasses = Compress.Scores(output, AMCdata.train$PatID$Pat, 2, 0.6)

I've imported like below..

library(gsubfn)
library(randomForest)
library(e1071)
library(nnet)
library(rpart)
library(survival)
library(RColorBrewer)
library(preprocessCore)
library(ggplot2)
library(reshape2)
library(MASS)
library(scatterplot3d)

source("classifier_functions.R")

Is there something I missed...?

It seems like rows are categorized in the function with the cutoff value 60...

Any help will be appreciated.

Thank you

trinhan commented 6 years ago

classifier_functions.R has been updated

SeYoungKim commented 6 years ago

Thank you I could see the result of the program..!