N
nbeule
Guest
Dim experiment As RegressionExperiment = mlContext.Auto().CreateRegressionExperiment(AutoMLSettings)
Dim result As ExperimentResult(Of RegressionMetrics) = experiment.Execute(trainData, CurrentProject.DependentVariable.Tagname, progressHandler:=progressHandler)
Dim model As ITransformer = result.BestRun.Model
Dim model As ITransformer = model.Transform(trainData)
castedModel = TryCast(model, RegressionPredictionTransformer(Of Trainers.FastTree.FastTreeRegressionModelParameters))
i dont understand why this cast isn't working in a situation that returns "FastTreeRegression" for model.BestRun.TrainerName
i have a situation where I cant write a class for the data ahead of time which are the only examples I can find
thanks for any help!
Continue reading...
Dim result As ExperimentResult(Of RegressionMetrics) = experiment.Execute(trainData, CurrentProject.DependentVariable.Tagname, progressHandler:=progressHandler)
Dim model As ITransformer = result.BestRun.Model
Dim model As ITransformer = model.Transform(trainData)
castedModel = TryCast(model, RegressionPredictionTransformer(Of Trainers.FastTree.FastTreeRegressionModelParameters))
i dont understand why this cast isn't working in a situation that returns "FastTreeRegression" for model.BestRun.TrainerName
i have a situation where I cant write a class for the data ahead of time which are the only examples I can find
thanks for any help!
Continue reading...