File: API\MLContextExtension.cs
Web Access
Project: src\src\Microsoft.ML.AutoML\Microsoft.ML.AutoML.csproj (Microsoft.ML.AutoML)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
 
namespace Microsoft.ML.AutoML
{
    /// <summary>
    /// Class containing AutoML extension methods to <see cref="MLContext"/>
    /// </summary>
    public static class MLContextExtension
    {
        /// <summary>
        /// Returns a catalog of all possible AutoML operations.
        /// </summary>
        /// <param name="mlContext"><see cref="MLContext"/> instance.</param>
        /// <returns>A catalog of all possible AutoML operations.</returns>
        public static AutoCatalog Auto(this MLContext mlContext)
        {
            return new AutoCatalog(mlContext);
        }
    }
}