Displaying 20 results from an estimated 1804 matches for "classify".
2008 May 06
2
ActionController::InvalidAuthenticityToken in ClassifiedCon
I am editing a form it is taking the value but when i submit it
it shows the message
def edit
@classified = Classified.find(params[:id])
end
def update
@classified = Classified.find(params[:id])
if @classified.update_attributes(params[:classified])
redirect_to :action => ''show'', :id => @classified
else
render :action => ''edit''
end
end
and this is my
2011 Nov 02
4
undefined method `updated_at' for #<Classified:0x686c5e4>
HEllo, I have the following problem with rails, I am new in this...is
there anyone who explain to me what´s happens?
Thanks
See below:
NoMethodError in Classified#show
Showing app/views/classified/show.rhtml where line #17 raised:
undefined method `updated_at'' for #<Classified:0x686c5e4>
Extracted source (around line #17):
14:
15: <strong>Date Posted:</strong>
2007 Feb 11
8
Is ESFQ working?
Hi there, i am trying to shape a network for a college dorms...
INTERNET---- ETH0--------Nat Box-------ETH1--------LAN
I have set up classes of traffic (HTTP, FTP, MAIL, IM, OTHER) and i have
assigned a rate for everyone with a HTB qdisc. The limit based in traffic is
working flawlessly.
However, under every HTB class i have set up a ESFQ queue discipline with hash
value set to
2012 Feb 09
1
Tr: Re: how to pass weka classifier options with a meta classifier in RWeka?
Le jeudi 09 f?vrier 2012 ? 15:31 +0200, Kari Ruohonen a ?crit :
> Hi,
> I am trying to replicate a training of AttributeSelectedClassifier with
> CFsSubsetEval, BestFirst and NaiveBayes that I have initially done with
> Weka. Now, I am trying to use RWeka in R.
>
> I have a problem of passing arguments to the CfsSubsetEval, BestFirst
> and NaiveBayes. I have first created an
2006 May 19
25
iptables CLASSIFY and MARK not working?
I have to match my packets based on MAC address, which I cannot do in
the POSTROUTING chain, so I do it in PREROUTING using MARK. Then, I
match on the MARK in the POSTROUTING chain to do a CLASSIFY. But this
does not seem to work:
wireless-r1 bwlimit # iptables -L -v -n -t mangle
Chain PREROUTING (policy ACCEPT 3353K packets, 941M bytes)
pkts bytes target prot opt in out source
destination
12527 11M CONNMARK all -- * * 0.0.0.0/0
0.0.0.0/0 CONNMARK rest...
2007 Nov 01
8
Mongrel 1.1
Hello Mongrels,
Mongrel 1.1 is out with fullblown JRuby support, some reorganization,
and some bugfixes. Also, Mongrel_cluster has been updated to 1.0.4.
Go subscribe to the all-new news feed, because we probably won''t
announce to the list anymore:
http://mongrel.rubyforge.org/rss.xml
Thanks
Evan, and the Mongrel Team
--
Evan Weaver
Cloudburst, LLC
2009 Jun 04
1
About classifier in RWeka
Hi everyone,
I have trouble to use RWeka, I tried: (w=weather dataset, all
preditors are nominal)
> m<-J48(play~., data=w)
> e<-evaluate_Weka_classifier(m,cost = matrix(c(0,2,1,0),
+ ncol = 2),numFolds = 10, complexity = TRUE,seed = 123,
+ class = TRUE)
it gives me exactly what I want, but when I tried the same classifier
on the other published data: (iris dataset has all numeric
2005 Jan 30
5
simple questions about imq
Hi!
I have read all informations i could find, but some things are still not
clear.
My setup is:
---INTERNET1(eth0)-\ /- Local net1 (eth2)
GW
---INTERNET2(eth1)-/ \- Local net2 (eth3)
I have NAT and a working setup using HTB,SFQ, classifying with the
iptables -j CLASSIFY way. I shape only the traffic coming from the
internet heading to the intranet.
I would like to have a configuration like this:
---INTERNET1(eth0)-\ /- Local net1 (eth2)
GW--imq0
---INTERNET2(eth1)-/ \- Local net2 (eth3)
I...
2007 Jul 11
2
RWeka control parameters classifiers interface
Hello,
I have some trouble in achieving the desired parametrisation
for the weka classifier functions, using the package RWeka.
The problem is, that the functions
result=classifier(formula, data, subset, na.action, control = Weka_control(mycontrol))
do not seem to be manipulated by the mycontrol- arguments
Perhaps this should be resepected via the handlers- argument ,
but the
2008 Feb 21
2
how to create ROC curve for 2 dimensional classifiers
Hi,
I understand for 1 d classifiers, you can use ROCR package.
Is there a package you can plot ROC curve for 2d classifiers? One of
my colleagues asked me about this. I have been quite puzzled,
conceptually, how you can do the ROC curve for 2d classifiers. Can
someone share his/her knowledge or experience?
Thanks in advance.
--
Waverley @ Palo Alto
2005 Sep 26
1
Qos, HFSC and VoIP
...ing Linux kernel 2.6.x and tc (from iproute2 package).
I''m trying to use HTB or HFSC scheduler in order to limite the rate of outgoing packets and also in order to minimiez delay for RTP stream.
But I didn''t suceed in having this 2 QoS services working.
I use Iptables in order to classify packets. Here is my HFSC conf.
In fact the pings that i send from this box should be the most highly priorised packet, but there are delayed when i add load on the link (with a scp upload).
What is strange is that the delay of thoses ping is not constant:
Does someone have an idea about this issu...
2007 Nov 27
1
Questions on RWeka classifiers?
Hi,
I am using some classifiers in RWeka packages and met a couple problems.
(1) J48 implements C45 classifier, the C45 should be able to handle missing
values in both training set and test set. But I found the J48
classifier can
not be evaluated on test set with missing values--it just ignore them.
(2) The ensemble classifiers in RWeka such as bagging and boosting: there
is a
2006 Sep 21
1
RE: Doubts regarding classifiers available
Hi Krishna,
1) If you want to classify according to MAC address, you could use iptables to mark the packet (using MARK target), but just source MAC is available for now.
2) Usually tc just could classify by fields of IP layer and its sublayer, so I think classify by ethertype is unavailable.
3) VLAN tag belongs to MAC layer! I'&...
2004 Nov 03
0
Download ratio unstable
...arent 2:3 handle 30: sfq perturb 20
tc qdisc add dev $LOCALIF parent 2:4 handle 40: tbf rate
$(($RATE-40))kbit burst 1600 limit 3000
}
create_filters() {
# Match SYN and RST packets
iptables -t mangle -A POSTROUTING -o $LOCALIF -p tcp -m tcp
--tcp-flags ! SYN,RST,ACK ACK -j CLASSIFY --set-class 2:1
# Match ACK packets
iptables -t mangle -A POSTROUTING -o $LOCALIF -p tcp -m tcp
--tcp-flags SYN,RST,ACK ACK -m length --length :128 -m tos ! --tos
Normal-Service -j CLASSIFY --set-class 2:1
# Match packets with TOS Minimize-Delay
iptables -t mangle...
2004 Nov 22
0
Testing if tc works as configured and shaping rtp traffic
...16mbit ceil 20mbit prio 2
$TCCLAS_CMD parent 1:1 classid 1:12 htb rate 2mbit ceil 2mbit prio 3
$TCQDSK_CMD parent 1:10 handle 31: pfifo limit 5
$TCQDSK_CMD parent 1:11 handle 35: pfifo limit 5
$TCQDSK_CMD parent 1:12 handle 39: sfq perturb 10
#Hi prio
$IPT_CMD -p tcp --tcp-flags SYN,RST,ACK SYN -j CLASSIFY --set-class 1:10
$IPT_CMD -p udp --dport 53 -j CLASSIFY --set-class 1:10
$IPT_CMD -p tcp --dport 22 -j CLASSIFY --set-class 1:10
#Yahoo
$IPT_CMD -p udp --dport 5000 -j CLASSIFY --set-class 1:10
$IPT_CMD -p tcp --dport 5050 -j CLASSIFY --set-class 1:10
$IPT_CMD -p tcp --dport 5100 -j CLASSI...
2006 May 05
3
iptables CLASSIFY vs fwmark?
Could someone comment on the benefits of using CLASSIFY vs fwmark (or
vice versa) in iptables?
I''m getting ready to implement some basic tc for VoIP and most of the
examples seem to use the (older?) fwmark syntax. Should I convert these
to CLASSIFY? Can the two syntaxes be mixed? Also with U32?
TIA,
Edwin
--
<=+=+=+==+=+=+==+=+=+=...
2005 Oct 06
0
problem with classifying
Hello list
I have a problem with classifying traffic from two providers, and about
600 users.
I have the following situation:
P1-\ | linux |
--eth0-| box |-eth1
P2-/ | |
P1 and P2 are coming from VLANs. I have 4 type traffic which I want to
classify.
The traffic is divided as follows:
P1 - 100mb...
2005 Jul 15
6
Problems setting up nested qdisc, feedback to LARTC HOWTO
...S splitting only
30:1 (BAND 1)
30:2 (BAND 2)
30:3 (BAND 3)
1:4 -> PFIFO, handle 40:
"starvation bitbucket"
gets what is left, can starve at times
The setup was apparently successful, tc does not complain and displays
the structure: without any CLASSIFY targets, all traffic goes to 1:3
and is split in the three bands properly. Looks good.
I can also add CLASSIFY for 1:1 and 1:4, which seem to fall into the
SFQ/PFIFO buckets underneath, both look good.
The problem starts with the HTB embedded in 1:2 as 20: -- I can never
CLASSIFY traffic for it p...
2006 Jun 02
2
Bi-directional packet classification with ACK prioritization
...k that was set to put it in that classification.
A response then comes back from the server and the router restores the
mark it previously saved. Now it is flagged for Priority Band 1.
The packet now traverses the iptables ruleset and remains classified as
Priority Band 1 because the rules that classify it in a different manner
don''t trigger. The reason these rules don''t trigger is that the original
marking in the outbound direction is done on SOURCE MAC address. Since I
can''t classify on SOURCE MAC address for packets coming back from the
Internet, I am left with using...
2007 Mar 11
5
Mysql::Error #28000Access denied
I''m on MAC OSX and I set up my environment as described here:
http://hivelogic.com/narrative/articles/ruby_rails_lighttpd_mysql_tiger?status=301
This may be too old and I just realized that, but before I attempt
Building Ruby, Rails, Subversion, Mongrel, and MySQL on Mac OS X:
http://hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx
Okay, I purchased a book "Rails