ignite-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ignite] zaleslaw commented on a change in pull request #6964: IGNITE-12279: [ML] Added support for using H2O MOJO for model inference
Date Wed, 30 Oct 2019 09:56:23 GMT
zaleslaw commented on a change in pull request #6964: IGNITE-12279: [ML] Added support for
using H2O MOJO for model inference
URL: https://github.com/apache/ignite/pull/6964#discussion_r340515612

 File path: examples/src/main/java/org/apache/ignite/examples/ml/inference/h2o/H2OMojoModelParserExample.java
 @@ -0,0 +1,105 @@
+ * 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.ignite.examples.ml.inference.h2o;
+import org.apache.ignite.Ignite;
 Review comment:
   Reorder imports, please, java imports should be first, after that should be added ignite
imports like below, for exxample, also all unused imports should be removed
   import java.io.IOException;
   import java.io.ObjectInput;
   import java.io.ObjectOutput;
   import java.util.Arrays;
   import java.util.HashMap;
   import java.util.Map;
   import java.util.Random;
   import java.util.Spliterator;
   import java.util.function.Consumer;
   import org.apache.ignite.lang.IgniteUuid;
   import org.apache.ignite.ml.math.Blas;
   import org.apache.ignite.ml.math.exceptions.math.CardinalityException;
   import org.apache.ignite.ml.math.exceptions.math.ColumnIndexException;
   import org.apache.ignite.ml.math.exceptions.math.RowIndexException;
   import org.apache.ignite.ml.math.functions.Functions;
   import org.apache.ignite.ml.math.functions.IgniteBiFunction;
   import org.apache.ignite.ml.math.functions.IgniteDoubleFunction;
   import org.apache.ignite.ml.math.functions.IgniteFunction;
   import org.apache.ignite.ml.math.functions.IgniteTriFunction;
   import org.apache.ignite.ml.math.functions.IntIntToDoubleFunction;
   import org.apache.ignite.ml.math.primitives.vector.Vector;
   import org.apache.ignite.ml.math.primitives.vector.impl.DenseVector;
   import org.apache.ignite.ml.math.primitives.vector.impl.VectorizedViewMatrix;

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.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

View raw message