Displaying 12 results from an estimated 12 matches for "test_set".
2007 Jun 25
5
strange mock error
I''m testing using the rspec mocking framework and rspec 1.0.5 and I''m
getting the following strange error:
#<Spec::Mocks::Mock:0x337f7c8> expected :set_defaults with (#<Service:
0x19c4040 @name="Service_1023">, {"1"=>"1", "2"=>"2"}) but received
it with (#<Service:0x19c4040
2012 Jul 06
2
Plotting rpart trees with long list of class members
I have a class with 732 members, so using rpart.plot is giving me a tiny plot
in the middle of the window. Is there a good way to modify the plot, or
replace the long list with something like "group1"?
--
View this message in context: http://r.789695.n4.nabble.com/Plotting-rpart-trees-with-long-list-of-class-members-tp4635671.html
Sent from the R help mailing list archive at
2007 Oct 25
0
12 commits - libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c test/trace
...proto__: 4
+true
+o.__proto__: 8
+true
+o.__proto__: 16
+true
+o.__proto__: 32
+true
+o.__proto__: 64
+true
+o.__proto__: 128
+true
+o.__proto__: 256
+true
+o.__proto__: 512
+true
+o.__proto__: 1024
+undefined
+o.__proto__: 2048
+true
+o.__proto__: 4096
+true
+o.__proto__: deleted
+undefined
+set:
+test_set: true
+o.__proto__: 2
+test_set: true
+o.__proto__: 4
+test_set: true
+o.__proto__: 8
+test_set: true
+o.__proto__: 16
+test_set: true
+o.__proto__: 32
+test_set: true
+o.__proto__: 64
+test_set: true
+o.__proto__: 128
+test_set: true
+o.__proto__: 256
+test_set: true
+o.__proto__: 512
+test_set: t...
2017 Sep 21
11
[Bug 1184] New: disable implicit concatenating of elements of sets with flag interval
...ernal data is problematic because of that.
Please disable implicit concatenating for good (maybe except sets with flag
constant) or introduce nft option to let concatenating is not performed for
given operation.
Current (bad) behaviour:
a) adding consequent elements in one command
nft add set t test_set {type ipv4_addr\; flags interval\;}
nft add element t test_set {192.168.0.0, 192.168.0.1}
nft list set t test_set
table ip t {
set test_set {
type ipv4_addr
flags interval
elements = { 192.168.0.0/31 }
}
}
b) adding consequent elemen...
2015 Sep 02
3
sieve filtering utf 8 strings
Guys,
I'm completely stuck, so asking for advice.
My user has a sieve script which checks message header if it contains
words in russian like '???? ???????????? ?????????'.
Pritty simple script
# rule:[??????????]
if allof (header :contains "subject" "LDS (robot): ???? ????????????
?????????", header :contains "from" "noreply at
2015 Sep 03
0
sieve filtering utf 8 strings
...Which is obviously OK.
So, to me, it seems as though the program that creates these messages is
encoding the wrong text or is messing up encoding itself.
Regards,
Stephan.
LONG ANSWER:
I wrote a little test suite script like this:
<SCRIPT>
require "vnd.dovecot.testsuite";
test_set "message" text:
Subject: =?UTF-8?Q?LDS_(robot):_=D0=9B=D0=B8=D1=81=D1=82?=
=?UTF-8?Q?_=D0=B1=D1=80=D0=BE=D0=BD=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD?=
=?UTF-8?Q?=D0=B8=D1=8F__=D0=BE=D1=82=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5?=
From: noreply at bgoperator.com
To: friep at example.net
Frop!...
2011 Feb 23
0
Problem with Mclust
...ta <- as.matrix(my_data)
set.seed(1234)
ms <- sample(seq(sample_percentage*dim(my_data)[1]))
train_set <- my_data[ms, sel_col]
my_labels <- my_data[ms,-sel_col]
train <- mclustDAtrain(train_set, labels = my_labels)
## training step
summary(train)
print("OK training")
test_set <- my_data[-ms, sel_col]
test <- mclustDAtest(test_set, train) ## compute model densities
clTest <- summary(test)$class ## classify training set
err_est <- classError(clTest,my_data[-ms,-sel_col])
2006 Jun 07
1
Reverse engineering pagination and more
Hey all,
I''m building a photo album site (for fun) and have a few questions.
1) This site will have a browse section, where you can view the photos by
thumbnail. I want to let the user change how many thumbs they can see per
page. I''ll have a couple links at the bottom of the page letting them do
that. The problem is, if they are in the middle of browsing and decide to
2008 Jan 19
0
11 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_sprite_movie_as.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml.h libswfdec/swfdec_xml_node.c libswfdec/swfdec_xml_node.h test/image test/swfdec_test.c test/swfdec_test_image.c test/trace
...__proto__ (hp) = _global.XMLNode.prototype
+ constructor (hp) = _global.XMLNode
+ 2 = object
+ __proto__ (hp) = _global.XMLNode.prototype
+ constructor (hp) = _global.XMLNode
+ __constructor__ (h) = _global.XML
+ __proto__ (hp) = _global.XML.prototype
+ constructor (h) = _global.XML
+
+test_set: <b id="test" />
+caller: null, callee: [type Function]
+<a><b id="test" /></a>
+done
+<a><b id="test" /></a>
+
+changed ignoreWhite to: true
+ <a> <b id="change" /></a>
+changed ignoreWhite to: fals...
2020 Jan 04
2
A modern object-oriented machine learning framework in R
Estimadísimo Carlos:
Muchísimas gracias por responderme y
hacerlo tan rápido. Contemplé esa posibilidad, es decir, que el
hiperparámetro estuviera suponiendo un problema, y probé de esta forma:
> learner <- lrn("classif.ranger", num.trees = 5, mtry = NULL)
Error: Element with key 'classif.ranger' not found in DictionaryLearner!
2017 Sep 22
13
[Bug 1185] New: counter flag proposal for sets and maps
https://bugzilla.netfilter.org/show_bug.cgi?id=1185
Bug ID: 1185
Summary: counter flag proposal for sets and maps
Product: nftables
Version: unspecified
Hardware: x86_64
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: nft
Assignee: pablo at netfilter.org
2007 Sep 11
0
8 commits - libswfdec/swfdec_as_function.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_strings.c test/trace
...+trace (o.hasOwnProperty ("test"));
+o.test = 2;
+trace (o.hasOwnProperty ("test"));
+trace (o.unwatch ("test"));
+o.test = 3;
+
+
+trace ("working with native functions");
+var test_get = function () { trace ("get"); return "get"; };
+var test_set = function (value) { trace ("set " + value); };
+
+o.test = 0;
+trace (o.watch ("test", watch_test));
+o.test = 1;
+o.addProperty ("test", test_get, test_set);
+o.test = 2;
+trace (o.unwatch ("test"));
+o.test = 3;
+
+o.test2 = 0;
+o.addProperty ("test2&...