search for: btest

Displaying 8 results from an estimated 8 matches for "btest".

Did you mean: test
2017 Dec 04
1
svyglm
...1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,################################################################################################################################################################ ###NOT running SVYGLM command#data for R-helpbteste <- reg[1:10, c(1, 4, 26, 27, 28)]#dput(bteste)###omitting most of the lines?"9967.223281", "9967.870849", "9968.207979", "997.0045537",?? ? "997.1451224", "997.1574275", "997.1782368", "997.1812338",?? ? "997.2...
2009 May 08
1
Get (feature, threshold) from Output of rpart() for Stump Tree
...rding how to get some partial information from the output of rpart, which could be used as the first argument to predict. For example, in my code, I try to learn a stump tree (decision tree of depth 2):    "fit        <- rpart(y~bx, weights = w/mean(w), control = cntrl)     print(fit)     btest[1,]  <- predict(fit, newdata = data.frame(bx)) " I found that "fit" is of  mode "list" and length 12. If I "print(fit)", I will get as output: "n= 124 node), split, n, deviance, yval       * denotes terminal node 1) root 124 61.54839 0.7096774    2) b...
2007 Jun 13
0
Using Rcov with rspec_on_rails
..... ................................... Finished in 5.751487 seconds 107 examples, 0 failures, 4 not implemented No file to analyze was found. All the files loaded by rcov matched one of the following expressions, and were thus ignored: [/\A\/opt\/local\/lib/, /\btc_[^.]*.rb/, /_test\.rb\z/, /\btest\//, /\bvendor\//, /\A\/opt\/local\/lib\/ruby\/gems\/1\.8\/gems\/rcov\-0\.8\.0\.2\/lib\/ rcov\/report\.rb\z/, /spec/, /\bvendor\//, /\bconfig\//, /\benvironment\//] You can solve this by doing one or more of the following: * rename the files not to be ignored so they don''t match the above...
2007 May 17
0
strange results when using rcov with rspec
...ed files to ignore any files in app/ but to include files in vendor/plugins/ plugin/app/** The error I get is this: No file to analyze was found. All the files loaded by rcov matched one of the following expressions, and were thus ignored: [/\A\/usr\/ lib/, /\btc_[^.]*.rb/, /_test\.rb\z/, /\btest\//, /\bvendor\//, /\A\/ usr\/lib\/ruby\/gems\/1\.8\/gems\/rcov\-0\.8\.0\.2\/lib\/rcov\/report \.rb\z/, /lib\/spec/, /bin\/spec\//, /app/, /config/] You can solve this by doing one or more of the following: * rename the files not to be ignored so they don''t match the above regexps * u...
2011 Jan 22
32
Bug in mkfs.btrfs?!
Hi, I wanted to create a new btrfs fs for my backups. When trying to mkfs.btrfs for that device, I''m getting "error checking /dev/loop2 mount status" With strace I see where the problem is: lstat("/dev/disk/by-id/ata-INTEL_SSDSA2M160G2GC_CVPO939201JX160AGN-par", 0x7fffa30b3cf0) = -1 ENOENT (No such file or directory) The problem is there is something missing
2006 Dec 02
3
Scoping expectations and more ...
...his is teh object we will test class B def m(p) a = A.new a.m(p) end def calltwice(p) a = A.new a.m(p+1)+a.m(p+2) end end require ''test/unit'' require ''rubygems'' require ''mocha'' require ''stubba'' class BTest < Test::Unit::TestCase # This test demonstrates how you can call a function that calls a mocked # object more than one time in the same test def test_m_call b = B.new begin A.any_instance.expects(:m).with(5).returns(6) assert_equal 6, b.m(5) end begin A.a...
2016 Dec 14
0
Cannot get plaintext+pam auth to work on 4.2.10
...I have somewhat specific circumstances, where I think I can tolerate plaintext passwords on the wire as long as I get samba to authenticate against the system /etc/shadow (using PAM) in exchange. 0) I'm using Debian 8.4 (jessie), samba packages 2:4.2.10+dfsg-0+deb8u3. 1) I have created user smbtest with password asdasd 2) put the following into /etc/samba/smb.conf and reloaded smbd: [global] debug level = 10 passdb:10 server role = standalone server obey pam restrictions = yes encrypt passwords = no lanman auth = yes ntlm auth = no server max protocol = LANMAN2 client lanman auth =...
2007 Nov 19
15
Unexpected results using HTB qdisc
Hi All, I am using the script below to limit download rates and manage traffic for a certain IP address and testing the results using iperf. The rate that iperf reports is much higher than the rate I have configured for the HTB qdisc. It''s probably just some newbie trap that''s messing things up but I''m buggered if I can see it. The following script is run on the