Examples of NormalizedField


Examples of edu.washington.cs.knowitall.normalization.NormalizedField

    for (int i = 0; i < posTags.size(); i++) npChunkTags.add("O");
   
    ChunkedSentence sent = new ChunkedSentence(tokens, posTags, npChunkTags);
    ChunkedExtraction extr = new ChunkedExtraction(sent, new Range(0, posTags.size()));
   
    NormalizedField normField = normalizer.normalizeField(extr);
    String resultStr = normField.toString();
    assertEquals(expectedStr, resultStr);
  }
View Full Code Here

Examples of edu.washington.cs.knowitall.normalization.NormalizedField

    /**
     * Returns true if the tokens in the given extraction appear in the set of
     * relations passed to the constructor.
     */
    public boolean doFilter(ChunkedExtraction extr) {
        NormalizedField normField = normalizer.normalizeField(extr);
        return relations.contains(normField.toString());
    }
View Full Code Here

Examples of org.encog.util.arrayutil.NormalizedField

    private NormalizedField altitudeStats;
    private NormalizedField velocityStats;
 
  public NeuralPilot(BasicNetwork network, boolean track)
  {
        fuelStats = new NormalizedField(NormalizationAction.Normalize, "fuel", 200, 0, -0.9, 0.9);
        altitudeStats = new NormalizedField(NormalizationAction.Normalize, "altitude", 10000, 0, -0.9, 0.9);
        velocityStats = new NormalizedField(NormalizationAction.Normalize, "velocity", LanderSimulator.TERMINAL_VELOCITY, -LanderSimulator.TERMINAL_VELOCITY, -0.9, 0.9);

    this.track = track;
    this.network = network;
  }
View Full Code Here

Examples of org.encog.util.arrayutil.NormalizedField

    private NormalizedField altitudeStats;
    private NormalizedField velocityStats;
 
  public NeuralPilot(BasicNetwork network, boolean track)
  {
        fuelStats = new NormalizedField(NormalizationAction.Normalize, "fuel", 200, 0, -0.9, 0.9);
        altitudeStats = new NormalizedField(NormalizationAction.Normalize, "altitude", 10000, 0, -0.9, 0.9);
        velocityStats = new NormalizedField(NormalizationAction.Normalize, "velocity", LanderSimulator.TERMINAL_VELOCITY, -LanderSimulator.TERMINAL_VELOCITY, -0.9, 0.9);

    this.track = track;
    this.network = network;
  }
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.