Example #1
0
 public NetMLCreator(NetMLObject netMLObject)
 {
     this.netMLObject = netMLObject;
     if (netMLObject.AlgorithmusClassification == "classification")
     {
         netMLClassificatonCreator = new NetMLClassificatonCreator(netMLObject);
     }
     else if (netMLObject.AlgorithmusClassification == "clustering")
     {
         netMLClusteringCreator = new NetMLClusteringCreator(netMLObject);
     }
     else if (netMLObject.AlgorithmusClassification == "regression")
     {
         netMLRegressionCreator = new NetMLRegressionCreator(netMLObject);
     }
 }
Example #2
0
        public NetMLCreator(string netMLCreationString)
        {
            NetMLParser netMLParser = new NetMLParser();
            var         result      = netMLParser.Parse(netMLCreationString);

            this.netMLObject = result;
            if (netMLObject.AlgorithmusClassification == "classification")
            {
                netMLClassificatonCreator = new NetMLClassificatonCreator(netMLObject);
            }
            else if (netMLObject.AlgorithmusClassification == "clustering")
            {
                netMLClusteringCreator = new NetMLClusteringCreator(netMLObject);
            }
            else if (netMLObject.AlgorithmusClassification == "regression")
            {
                netMLRegressionCreator = new NetMLRegressionCreator(netMLObject);
            }
        }
Example #3
0
 public NetMLRegressionCreator(NetMLObject netMLObject)
 {
     this.netMLObject = netMLObject;
 }
 public NetMLClassificatonCreator(NetMLObject netMLObject)
 {
     this.netMLObject = netMLObject;
 }
Example #5
0
 public NetMLClusteringCreator(NetMLObject netMLObject)
 {
     this.netMLObject = netMLObject;
 }