3 instantiations of AlienHero
Microsoft.ML.Core.Tests (3)
UnitTests\TestCustomTypeRegister.cs (3)
181var tribe = new List<AlienHero>() { new AlienHero("ML.NET", 2, 1000, 2000, 3000, 4000, 5000, 6000, 7000) };
206var alien = new AlienHero("TEN.LM", 1, 2, 3, 4, 5, 6, 7, 8);
229var alien = new AlienHero("TEN.LM", 1, 2, 3, 4, 5, 6, 7, 8);
13 references to AlienHero
Microsoft.ML.Core.Tests (13)
UnitTests\TestCustomTypeRegister.cs (13)
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()
181var tribe = new List<AlienHero>() { new AlienHero("ML.NET", 2, 1000, 2000, 3000, 4000, 5000, 6000, 7000) };
185var heroEstimator = new CustomMappingEstimator<AlienHero, SuperAlienHero>(ML, AlienFusionProcess.MergeBody, "LambdaAlienHero");
205var engine = ML.Model.CreatePredictionEngine<AlienHero, SuperAlienHero>(modelForPrediction);
206var alien = new AlienHero("TEN.LM", 1, 2, 3, 4, 5, 6, 7, 8);
228var engine = ML.Model.CreatePredictionEngine<AlienHero, SuperAlienHero>(trainedModel);
229var alien = new AlienHero("TEN.LM", 1, 2, 3, 4, 5, 6, 7, 8);