Package cross.reputation.model

Examples of cross.reputation.model.LinealNumericTransformer


        get("questionsSecuritytubeMetric"),GlobalModel.getMetrics().get("semanticWikiMetric"),1.0));
    GlobalModel.addMetricTransformer(new LogaritmicNumericTransformer(GlobalModel.getMetrics().
        get("security.StackexchangeMetric"),GlobalModel.getMetrics().get("semanticWikiMetric"),1.0));       
    GlobalModel.addMetricTransformer(new LogaritmicNumericTransformer(GlobalModel.getMetrics().
        get("slackersMetric"),GlobalModel.getMetrics().get("semanticWikiMetric"),1.0));
    GlobalModel.addMetricTransformer(new LinealNumericTransformer(GlobalModel.getMetrics().
        get("ohlohKudoMetric"),GlobalModel.getMetrics().get("semanticWikiMetric"),0.9));
    GlobalModel.addMetricTransformer(new LogaritmicNumericTransformer(GlobalModel.getMetrics().
        get("ohlohRankMetric"),GlobalModel.getMetrics().get("semanticWikiMetric"),1.0));   
    //for(Community community : GlobalModel.getCommunities().values())
    //  printCommunity(community);
View Full Code Here


        get("questionsSecuritytubeMetric"),GlobalModel.getMetrics().get("semanticWikiMetric"),1.0));
    GlobalModel.addMetricTransformer(new LogaritmicNumericTransformer(GlobalModel.getMetrics().
        get("security.StackexchangeMetric"),GlobalModel.getMetrics().get("semanticWikiMetric"),1.0));       
    GlobalModel.addMetricTransformer(new LogaritmicNumericTransformer(GlobalModel.getMetrics().
        get("slackersMetric"),GlobalModel.getMetrics().get("semanticWikiMetric"),1.0));
    GlobalModel.addMetricTransformer(new LinealNumericTransformer(GlobalModel.getMetrics().
        get("ohlohKudoMetric"),GlobalModel.getMetrics().get("semanticWikiMetric"),0.9));
    GlobalModel.addMetricTransformer(new LogaritmicNumericTransformer(GlobalModel.getMetrics().
        get("ohlohRankMetric"),GlobalModel.getMetrics().get("semanticWikiMetric"),1.0));   
    //for(Community community : GlobalModel.getCommunities().values())
    //  printCommunity(community);
View Full Code Here

    }
  }
 
  public LinealNumericTransformer getLinealNumericTransformer(
      Model model, Resource resource) throws Exception {
    LinealNumericTransformer linNum = (LinealNumericTransformer)
      getResourceFromCache(resource, LinealNumericTransformer.class);
    if(linNum != null) {     
      return linNum;
    }
    MetricTransformerInstances metTraInstance =
      getMetricTransformer(model, resource);
    linNum = new LinealNumericTransformer(
          metTraInstance.sourceMetric, metTraInstance.destinationMetric,
          metTraInstance.correlationBetweenMetrics);
    linNum.setResource(resource);
    addResourceInstanceToCache(resource, linNum);
    linNum.setDescription(metTraInstance.description);
    return linNum;
  }
View Full Code Here

        System.out.println("The database contains subjects" +
            " of type LinealNumericTransformer:");
        while (iters.hasNext()) {
            Resource resource = iters.nextResource();
            System.out.println("  " + resource.getLocalName());
            LinealNumericTransformer linNumInstance =
              getLinealNumericTransformer(model,resource);
            System.out.println(linNumInstance.toReducedString("     "));
        }
    } else {
        System.out.println("No simple String riNamespace+" +
            "LinealNumericTransformer were found in the database");
    }
View Full Code Here

        get("questionsSecuritytubeMetric"),GlobalModel.getMetrics().get("semanticWikiMetric"),1.0));
    GlobalModel.addMetricTransformer(new LogaritmicNumericTransformer(GlobalModel.getMetrics().
        get("security.StackexchangeMetric"),GlobalModel.getMetrics().get("semanticWikiMetric"),1.0));       
    GlobalModel.addMetricTransformer(new LogaritmicNumericTransformer(GlobalModel.getMetrics().
        get("slackersMetric"),GlobalModel.getMetrics().get("semanticWikiMetric"),1.0));
    GlobalModel.addMetricTransformer(new LinealNumericTransformer(GlobalModel.getMetrics().
        get("ohlohKudoMetric"),GlobalModel.getMetrics().get("semanticWikiMetric"),0.9));
    GlobalModel.addMetricTransformer(new LogaritmicNumericTransformer(GlobalModel.getMetrics().
        get("ohlohRankMetric"),GlobalModel.getMetrics().get("semanticWikiMetric"),1.0));   
    //for(Community community : GlobalModel.getCommunities().values())
    //  printCommunity(community);
View Full Code Here

TOP

Related Classes of cross.reputation.model.LinealNumericTransformer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.