Codota Logo
Rapids
Code IndexAdd Codota to your IDE (free)

How to use
Rapids
in
water.rapids

Best Java code snippets using water.rapids.Rapids (Showing top 13 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: h2oai/h2o-3

private Frame execRapidsAndGetFrame(String astTree) {
  Val val = Rapids.exec(astTree);
  return register(val.getFrame());
}
origin: h2oai/h2o-3

public long rowsWithNa() {
 if( _rowsWithNa!=-1 ) return _rowsWithNa;
 String x = String.format("(na.omit %s)", _fr._key);
 Val res = Rapids.exec(x);
 Frame f = res.getFrame();
 long cnt = _fr.numRows()  -  f.numRows();
 f.delete();
 return (_rowsWithNa=cnt);
}
origin: h2oai/h2o-3

_train = Rapids.exec(String.format("(na.omit %s)", tranRebalanced._key)).getFrame(); // remove NA rows
DKV.remove(tranRebalanced._key);
checkMemoryFootPrint();
origin: h2oai/h2o-3

@Test
public void calculateSingleNumberResultTest() {
  fr = new TestFrameBuilder()
      .withName("testFrame")
      .withColNames("ColA")
      .withVecTypes(Vec.T_NUM)
      .withDataForCol(0, ard(1, 2, 3))
      .build();
  String tree = "(sum (cols testFrame [0.0] ))";
  Val val = Rapids.exec(tree);
  assertEquals(val.getNum(), 6.0, 1e-5);
}
origin: h2oai/h2o-3

@Test
public void changeKeyFrameTest() {
 Frame res = null;
 try {
  fr = new TestFrameBuilder()
      .withName("testFrame")
      .withColNames("ColA")
      .withVecTypes(Vec.T_NUM)
      .withDataForCol(0, ard(1, 2))
      .build();
  String tree = "( append testFrame 42 'appended' )";
  Val val = Rapids.exec(tree);
  res = val.getFrame();
  res._key = fr._key;
  DKV.put(fr._key, res);
 } finally {
  res.delete();
 }
}
origin: h2oai/h2o-3

 model = job.trainModel().get();
 String s = "(tmp= py_4 (rows (cols_py " + model._output._representation_key + " [0 1]) (tmp= py_3 (| (| (| (| (| (== (tmp= py_2 " + acs_zcta_fr._key + ") \"10065\") (== py_2 \"11219\")) (== py_2 \"66753\")) (== py_2 \"84104\")) (== py_2 \"94086\")) (== py_2 \"95014\")))))";
 Val val = Rapids.exec(s);
} catch (Throwable t) {
 t.printStackTrace();
origin: h2oai/h2o-3

Frame withAppendedFrame = Rapids.exec(tree).getFrame();
withAppendedFrame._key = Key.make();
DKV.put(withAppendedFrame);
origin: h2oai/h2o-3

_train = Rapids.exec(String.format("(na.omit %s)", tranRebalanced._key)).getFrame(); // remove NA rows
DKV.remove(tranRebalanced._key);
origin: h2oai/h2o-3

Frame tmp = Rapids.exec(ast).getFrame();
pred2labels = tmp.vecs()[0];
cm = ConfusionMatrixTest.buildCM(labels, pred2labels);
origin: ai.h2o/h2o-automl

private Frame execRapidsAndGetFrame(String astTree) {
  Val val = Rapids.exec(astTree);
  return register(val.getFrame());
}
origin: ai.h2o/h2o-automl

public long rowsWithNa() {
 if( _rowsWithNa!=-1 ) return _rowsWithNa;
 String x = String.format("(na.omit %s)", _fr._key);
 Val res = Rapids.exec(x);
 Frame f = res.getFrame();
 long cnt = _fr.numRows()  -  f.numRows();
 f.delete();
 return (_rowsWithNa=cnt);
}
origin: ai.h2o/h2o-algos

_train = Rapids.exec(String.format("(na.omit %s)", tranRebalanced._key)).getFrame(); // remove NA rows
DKV.remove(tranRebalanced._key);
checkMemoryFootPrint();
origin: ai.h2o/h2o-algos

_train = Rapids.exec(String.format("(na.omit %s)", tranRebalanced._key)).getFrame(); // remove NA rows
DKV.remove(tranRebalanced._key);
water.rapidsRapids

Most used methods

  • exec

Popular in Java

  • Start an intent from android
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • startActivity (Activity)
  • runOnUiThread (Activity)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now