Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

first checkin for heron ml #2978

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

first checkin for heron ml #2978

wants to merge 2 commits into from

Conversation

skanjila
Copy link
Contributor

Brought over all the ml code from samoa as is without building anything, this will serve as a starting point

Copy link
Member

@nlu90 nlu90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for the contribution. Several general comments:

  1. The ml related code should be under the heron-ml directory in the repo's root directory. Just like heronpy, eco, examples, integration and storm-compatibility.

  2. The root package path should be org.apache.heron.ml. The detailed comment are in the following code review.

  3. Please make sure it can be compiled and run correctly (add BUILD files, resolving dependencies and do some basic unit test or functional test) before merging this PR.

import org.slf4j.LoggerFactory;
import org.apache.commons.configuration.Configuration;

import backtype.storm.Config;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should use org.apache.heron.Config instead of the backtype.storm.Config. And for any following files should be the same case.

@@ -0,0 +1,82 @@
package org.apache.heron;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the package path should be org.apache.heron.ml if it's a general class needed by all machine learning runtime. If it's specific for samoa, then the package path should be org.apache.heron.ml.samoa.

And this also applies to all the following files.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants