Examples of DataSet


Examples of de.agilecoders.wicket.extensions.markup.html.bootstrap.form.typeaheadV10.DataSet

                // create the datum for the choice
                return String.format("{\"value\":\"%s\"}", choice);
            }
        };

        TypeaheadConfig config = new TypeaheadConfig(new DataSet(bloodhound));

        return new Typeahead<String>(id, Model.of(""), config);
    }
View Full Code Here

Examples of edu.stanford.nlp.sempre.Dataset

  private VerbSemClassMatcher matcher = VerbSemClassMatcher.getInstance();
  private Dataset dataset; //webQ dataset

  public VerbSemClassExtractor() throws IOException {
    reader = new ParalexQuestionReader();
    dataset = new Dataset();
    Dataset.opts.trainFrac=1.0;
    Dataset.opts.devFrac=0.0;
    dataset.read();
  }
View Full Code Here

Examples of edu.uci.jforestsx.dataset.Dataset

    if (options.has("ranking")) {
      RankingDataset dataset = new RankingDataset();
      RankingDatasetLoader.load(in, dataset);
      sample = new RankingSample(dataset);
    } else {
      Dataset dataset = new Dataset();
      DatasetLoader.load(in, dataset);
      sample = new Sample(dataset);
    }
    in.close();
View Full Code Here

Examples of eu.admire.seismo.metadata.Dataset

try
{   
     
  
   Dataset ds = new JSONDeserializer<Dataset>().deserialize(URLDecoder.decode((String) iterationData[0],"UTF-8"));
  
    
  
    
    String traceExpression="INSERT INTO trace (Station,Network,Channel,StartTime,EndTime,Samples,Frequency,DatasetID) VALUES";
    traceExpression=traceExpression+getInsertTraceExpression(ds, 0);
for (int j=1; j<ds.getTraceList().size();j++)
  
   traceExpression=","+traceExpression+getInsertTraceExpression(ds, j);
   
  
}
traceExpression=traceExpression+";";
    
         mOutputBlockWriterSQLExpression = getOutput(OUTPUT_XPRESSION_SQL);
   
         if(mOutputBlockWriterSQLExpression!=null)
           mOutputBlockWriterSQLExpression.write(traceExpression);
        
         mOutputBlockWriterMetadataString = getOutput(OUTPUT_METADATA_STRING);
        
         if(mOutputBlockWriterMetadataString!=null)
         {  JSONSerializer serializer = new JSONSerializer();
            mOutputBlockWriterMetadataString.write(serializer.include("traceList").serialize(ds));
         }
        
        

         mOutputBlockWriterDatasetId = getOutput(OUTPUT_ID);
        
         if(mOutputBlockWriterDatasetId!=null)
             mOutputBlockWriterDatasetId.write(ds.getDatasetId());
      
}
catch (PipeClosedException e)
View Full Code Here

Examples of fiftyone.mobile.detection.Dataset

    static void sendFeatureJavaScript(HttpServletRequest request, HttpServletResponse response)
            throws IOException {
       
        StringBuilder javascript = new StringBuilder(
                "// Copyright 51 Degrees Mobile Experts Limited\r\n");
        Dataset dataSet = WebProvider.getActiveProvider(request.getServletContext()).dataSet;
        final Map<String, String[]> results = WebProvider.getResult(request);
        List<String> features = new ArrayList<String>();
       
        String query = request.getQueryString();
        if (query == null) {
View Full Code Here

Examples of gederedem.data.DataSet

    * @param name
    */
   private void loadProfile(final String name) {
    log.entering(this.getClass().getName(), "loadProfile(" + name + ")");
    // Create
     profile = new DataSet(name, log);
     // Update
     profile.load();
     // Display
     ihm.loadTable(profile);
     log.exiting(this.getClass().getName(), "loadProfile()");
View Full Code Here

Examples of krati.store.DataSet

     * @param initialCapacity
     * @param segmentFactory  The segment factory, defaults to {@link krati.core.segment.ChannelSegmentFactory}.
     * @return
     */
    public static DataSet createDataSet(String path, int initialCapacity, SegmentFactory segmentFactory) {
        DataSet result = null;
        File homeDir = new File(path);
        homeDir.mkdirs();
        try {
            result = new DynamicDataSet(homeDir, initialCapacity, segmentFactory);
        } catch (Exception e) {
View Full Code Here

Examples of lupos.engine.operators.index.Dataset

      final Runnable task = new Runnable() {

        public void run() {
          // get the local evaluator and things for unmarshalling data
          QueryEvaluator<?> eval = getEvaluator();
          Dataset dataset = null;
          // get the creator
          IOperatorCreator creater = new QueryClientOperatorCreator();
          // get the dataset
          if (eval instanceof BasicIndexQueryEvaluator) {
            dataset = ((BasicIndexQueryEvaluator) eval)
View Full Code Here

Examples of net.fortytwo.rdfagents.model.Dataset

                            persister.handle(tweet);

                            if (0 < buffer.size()) {
                                Collection<Statement> c = new LinkedList<Statement>();
                                c.addAll(buffer);
                                datasetHandler.handle(new Dataset(c));
                            }
                        }
                    };

                    CustomTwitterClient client = new CustomTwitterClient();
View Full Code Here

Examples of net.imagej.Dataset

  /**
   * Test method for {@link org.cellprofiler.ijutils.OverlayUtils#extractMask(imagej.data.display.ImageDisplay)}.
   */
  @Test
  public final void testExtractMask() {
    Dataset dataset = getDatasetService().create(new long [] { 15, 25 }, "Foo", new AxisType [] { Axes.X, Axes.Y }, 8, true, false);
    Display<?> display = getDisplayService().createDisplay(getImageDisplayService().createDataView(dataset));
    assertTrue(display instanceof ImageDisplay);
    ImageDisplay iDisplay = (ImageDisplay)display;
    RectangleOverlay o = new RectangleOverlay(context.getContext());
    o.setOrigin(5, 0);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.