You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/05/15 12:56:19 UTC

[GitHub] [dolphinscheduler] jieguangzhou commented on a diff in pull request #10036: [Feature][Task Plugin] Add mlflow task plugin for MLops scenario.

jieguangzhou commented on code in PR #10036:
URL: https://github.com/apache/dolphinscheduler/pull/10036#discussion_r873165582


##########
dolphinscheduler-task-plugin/dolphinscheduler-task-mlflow/src/main/java/org/apache/dolphinscheduler/plugin/task/mlflow/MlflowConstants.java:
##########
@@ -0,0 +1,38 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.dolphinscheduler.plugin.task.mlflow;
+
+public class MlflowConstants {
+    private MlflowConstants() {
+        throw new IllegalStateException("Utility class");
+    }
+
+    public static final String JOB_TYPE_AUTOML = "AutoML";
+
+    public static final String JOB_TYPE_BASIC_ALGORITHM = "BasicAlgorithm";
+
+    public static final String PRESET_AUTOML_PROJECT = "https://github.com/jieguangzhou/MLflow-AutoML";
+
+    public static final String PRESET_BASIC_ALGORITHM_PROJECT = "https://github.com/jieguangzhou/mlflow_sklearn_gallery";

Review Comment:
   The MLflow can run the GitHub URL as an MLflow project. In this implementation, if we wanted to provide the preset algorithm capability for the MLFlow component for my project, we needed a repository to hold the code.
   
   I don't know how these repos should be created, do you have any suggestions?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org