12 references to SuperAlienHero
Microsoft.ML.Core.Tests (12)
UnitTests\TestCustomTypeRegister.cs (12)
77/// It will be the input of <see cref="AlienFusionProcess.MergeBody(AlienHero, SuperAlienHero)"/>.
137/// The output type of processing <see cref="AlienHero"/> using <see cref="AlienFusionProcess.MergeBody(AlienHero, SuperAlienHero)"/>.
154/// A mapping from <see cref="AlienHero"/> to <see cref="SuperAlienHero"/>. It is used to create a
158private class AlienFusionProcess : CustomMappingFactory<AlienHero, SuperAlienHero>
160public static void MergeBody(AlienHero input, SuperAlienHero output)
169public override Action<AlienHero, SuperAlienHero> GetMapping()
185var heroEstimator = new CustomMappingEstimator<AlienHero, SuperAlienHero>(ML, AlienFusionProcess.MergeBody, "LambdaAlienHero");
188var tribeEnumerable = ML.Data.CreateEnumerable<SuperAlienHero>(tribeTransformed, false).ToList();
205var engine = ML.Model.CreatePredictionEngine<AlienHero, SuperAlienHero>(modelForPrediction);
207var superAlien = engine.Predict(alien);
228var engine = ML.Model.CreatePredictionEngine<AlienHero, SuperAlienHero>(trainedModel);
230var superAlien = engine.Predict(alien);