P
P.B.C.G Fernando
Guest
Hi All,
I am very new to ML.Net framework, however looking at the videos and referring to articles I could able to learn something, I explored the following question over the internet, but I couldn’t find a proper solution. If anyone can help it is great help to me.
1. I found a code sample to Train a data-set for giving by a particular time slot
private static void TrainData()
{
MLContext mlContext = new MLContext();
var trainingData = lContext.Data.LoadFromTextFile<SalaryData>
(_dataFile, hasHeader: true, separatorChar: ',');
var settings = new RegressionExperimentSettings()
{
MaxExperimentTimeInSeconds = 20
};
var experiment =
mlContext.Auto().CreateRegressionExperiment(settings);
var result = experiment.Execute(trainingData,
labelColumnName: "PredictedSalary");
}
after train above data how we can save the result set in a file.
Gehan Fernando Snr. Engineer Technology. AKLO Information Technologies (Pvt) Ltd. #58, 42nd Lane, 5th Floor, Wellawatta, Colombo 06, Sri Lanka. Phone: +94 117 520000 | Mobile: +94 772 269625
Continue reading...
I am very new to ML.Net framework, however looking at the videos and referring to articles I could able to learn something, I explored the following question over the internet, but I couldn’t find a proper solution. If anyone can help it is great help to me.
1. I found a code sample to Train a data-set for giving by a particular time slot
private static void TrainData()
{
MLContext mlContext = new MLContext();
var trainingData = lContext.Data.LoadFromTextFile<SalaryData>
(_dataFile, hasHeader: true, separatorChar: ',');
var settings = new RegressionExperimentSettings()
{
MaxExperimentTimeInSeconds = 20
};
var experiment =
mlContext.Auto().CreateRegressionExperiment(settings);
var result = experiment.Execute(trainingData,
labelColumnName: "PredictedSalary");
}
after train above data how we can save the result set in a file.
How to train the model over and over again with new data?
How to get multiple Prediction (“Labels”) as an e.g, given by customer name or ID need to get predicted product list.
How to select best training algorithm according to business problem?
Gehan Fernando Snr. Engineer Technology. AKLO Information Technologies (Pvt) Ltd. #58, 42nd Lane, 5th Floor, Wellawatta, Colombo 06, Sri Lanka. Phone: +94 117 520000 | Mobile: +94 772 269625
Continue reading...