Displaying 20 results from an estimated 41 matches for "500,500".
Did you mean:
500,000
2012 Feb 10
3
Schwefel Function Optimization
...he Schwefel function:
schwefel <- function(x) sum(-x * sin(sqrt(abs(x))))
With these guys, not much luck:
> optim(c(1,1), schwefel)$value
[1] -7.890603
> optim(c(1,1), schwefel, method="SANN", control=list(maxit=10000))$value
[1] -28.02825
> optim(c(1,1), schwefel, lower=c(-500,-500), upper=c(500,500), method="L-BFGS-B")$value
[1] -7.890603
> optim(c(1,1), schwefel, method="BFGS")$value
[1] -7.890603
> optim(c(1,1), schwefel, method="CG")$value
[1] -7.890603
All trapped in local minima. I get the right answer when I pick a starting poi...
2012 Feb 10
3
Schwefel Function Optimization
...he Schwefel function:
schwefel <- function(x) sum(-x * sin(sqrt(abs(x))))
With these guys, not much luck:
> optim(c(1,1), schwefel)$value
[1] -7.890603
> optim(c(1,1), schwefel, method="SANN", control=list(maxit=10000))$value
[1] -28.02825
> optim(c(1,1), schwefel, lower=c(-500,-500), upper=c(500,500), method="L-BFGS-B")$value
[1] -7.890603
> optim(c(1,1), schwefel, method="BFGS")$value
[1] -7.890603
> optim(c(1,1), schwefel, method="CG")$value
[1] -7.890603
All trapped in local minima. I get the right answer when I pick a starting poi...
2007 Apr 25
4
How to solve difficult equations?
This below is not solvable with uniroot to find "a":
fn=function(a){
b=(0.7/a)-a
(1/(a+b+1))-0.0025
}
uniroot(fn,c(-500,500)) gives
"Error in uniroot(fn, c(-500, 500)) : f() values at end points not of
opposite sign"
I read R-help posts and someone wrote a function:
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/92407.html
but it is not very precise. Is there any '"standard" function in R...
2002 Jul 14
1
crossprod and X %*% t(X)
...age for crossprod states that crossprod(A,B) is faster than
t(A) %*% B; experimentation certainly bears this out. more alarming
is the evidence that crossprod(t(A), B) is faster than A %*% B:
on a PII laptop, 128MB memory, win98, R-1.5.0.-patched precompiled
(no ATLAS):
> A <- matrix(rnorm(250000),500,500)
> B <- matrix(rnorm(250000),500,500)
> for (i in 1:5) { print(system.time(A %*% B)) }
[1] NA NA 7.96 NA NA
[1] NA NA 7.81 NA NA
[1] NA NA 7.79 NA NA
[1] NA NA 7.81 NA NA
[1] NA NA 7.79 NA NA
> for (i in 1:5) { print(system.time(crosspr...
2012 Aug 18
1
Parameter scaling problems with optim and Nelder-Mead method (bug?)
...)
}
f1=function(xy) -f(xy, 0, 0)
optim(c(1,1), f1)
The first four values evaluated are
1.0, 1.0
1.1, 1.0
1.0, 1.1
0.9, 1.1
which is reasonable (step size of 0.1) for this function. And if I
translate both the function and the initial values
f2=function(xy) -f(xy, 5000, 5000)
optim(c(5001,5001), f2)
the first four values are
5001.0, 5001.0
5501.1, 5001.0
5001.0, 5501.1
4500.9, 5501.1
With
f3=function(xy) -f(xy, 0, 5000)
optim(c(1,5001), f3)
they are
1.0, 5001.0
501.1, 5001.0
1.0, 5501.1
-499.1, 5501.1...
2007 Feb 17
3
Problem with busydetect and cell phones
...ignalling=fxs_ks
usecallerid=yes
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=yes
rxgain=0.0
txgain=0.0
immediate=no
busydetect=yes
busycount=4
;busypattern=500,500
;answeronpolarityswitch=yes
;hanguponpolarityswitch=yes
;callprogress=yes
;progzone=us
channel => 3-4
_________________________________________________________________
Mortgage rates as low as 4.625% - Refinance $150,000 loan for $579 a month.
Intro*Terms http://www.NexTag.com
2012 Apr 06
2
Sincere inquiry about “subscript out of bounds” error in R
Hello£¬experts
I am working on a simulation of effect of artificial selection on certain population in Animal Breeding.I am new beginner in coding. I have already build a matrix A(500*500) based on this code
A<-matrix(,500,500)
for(i in 1:500){
for(j in 1:500){
ifelse(i==j,A[i,j]<-1,A[i,j]<-0)
}
}
and I need to caculate A2
base on A and X1(4500*4500).Here are the codes
A2<-matrix(4500,500)
for(i in 1:4500){
for(j in 1:500){
A2[i,j]<-(A[X1[i,2],j]+A[X1[i,3],j])/2...
2007 Sep 15
2
Astribank and caller ID from PSTN
...alling=yes
transfer=yes
canpark=yes
cancallforward=yes
;callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
echotraining=800
relaxdtmf=yes
rxgain=3.0
txgain=3.0
callgroup=1
pickupgroup=1
;immediate=no
callerid=asreceived
;amaflags=default
busydetect=yes
busycount=8
;busypattern=500,500
answeronpolarityswitch=no
hanguponpolarityswitch=no
faxdetect=both
; Span 1: XBUS-00/XPD-00 "Xorcom XPD #0/0: FXO"
;;; line="1 XPP_FXO/0/0/0 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=1
context=from-zaptel
channel => 1
When replacing callerid=phone-number I ge...
2009 Mar 24
1
Barplot With Selected X-Axis Region
...V1 V2
1 -43342073 14
2 -43337730 4
3 -43284676 1
....
11372 75188572 11
11373 75206165 6
11374 75262720 24
What I want to do is to have a barplot where x-axis
is taken from V1 and y-axis taken from V2.
But I only want to plot the those region where V1 >= -500
and <= 500.
But some how this snippet doesn't seem to work:
> xlim = c(-500,500)
> barplot(as.matrix(dat[dat$V1 >= -500 && dat$V1 <=500,dat$V2]),xlim=xlim,axes=TRUE, main =nm);
What's wrong with my approach.
So yes, I do want the V1 information, hence I am aware t...
2001 Dec 18
1
How do I install smbmnt suid root?
I'm trying to set up a Samba mount point to a WinME computer so that a user can
mount the file system. I'm getting the following error when I attempt the mount:
$ mount /jan.fcwm.org/
smbmnt must be installed suid root for direct user mounts (500,500)
smbmnt failed: 1
How do I install smbmnt suid root?
Running Red Hat 7.2, and have the following rpms installed:
$ rpm -qa | grep samba
samba-2.2.1a-4
samba-common-2.2.1a-4
samba-client-2.2.1a-4
samba-swat-2.2.1a-4
Glen
2002 Dec 15
3
smbmnt.
Hi.
I'm receiving this message if I try mount a drive:
smbmnt must be installed suid root for direct user mounts (500,500)
How can tackle that ?.
--
Med venlig hilsen - Best regards - vy73 de OZ4KK.
Erik Jakobsen - erik@urbakken.dk
Registered Linux user #114875 - http://counter.li.org
2012 May 04
1
Absolute cumulative curve with ecdf/stepfun?
Hi,
I have two variables ranging both from 0 to 1 (n=500 each).
Now I am interested in plotting them both in one plot (using ggplot2).
So far I used ecdf() (from an example I found with google) to get
values for the cumulatice distribution function which gives a relative
curve. I also want to do the same plot but using absolute cumulative
values instead...
2010 Jul 31
0
Disconnect supervision tone detection working for india
Hi ,
Thanks danny nicholas. Finally we get the things done with following.
If i specify busypatten=500,500 then asterisk does not recognize hang up
signal. After removing it only all are working fine.
I choosed 2nd option as per your suggestions.
working chan-dahdi.conf:
====================
signalling = fxs_ks
busycount = 3
busydetect = yes
callprogress = yes
progzone=in
usecallerid=yes
cids...
2010 Apr 09
3
Problems with Fax over TDM410P
...usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
immediate=no
busydetect=yes
immediate=no
;busycount=4
;busypattern=500,500
;answeronpolarityswitch=yes
;hanguponpolarityswitch=yes
; TDM410P
context = mde-g1
immediate=no
signalling=fxs_ks
group=0
channel => 1
context = mde-g1
immediate=yes
Signalling=fxs_ks
group=0
channel => 2
context = mde-g1
immediate=yes
signalling=fxs_ks
group=0
channel => 3
contex...
2010 Jul 08
1
Incoming call doesn't finish when internal phone hangs up
...]
language=es
context=default
rxwink=300
usecallerid=yes
hidecallerid=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
busydetect=yes
busycount=yes
busypattern=500,500
answeronpolarityswitch=yes
hanguponpolarityswitch=yes
;PRI RDSI - SPAN 1
group = 1
context = incoming-1
inmediate=no
switchtype=euroisdn
signalling=pri_cpe
channel => 1-15,17-31
;PRI RDSI - SPAN 2
group = 1
context = incoming-2
inmediate=no
switchtype=euroisdn
signalling=pri_cpe
channel =&...
2007 Jul 24
3
rxFAX core dumps
...Again no works and RxFAX
application core dumps. I switch many versions of tiff and spandsp libraries
and does not work.
I have a hungup detection problem too. This issue can affect fax handling?. To
solve this problem I set this on zapata for each channel:
busydetect=yes
busycount=10
busypattern=500,500
hanguponpolarityswitch=yes
callprogress=yes
But does not work and while a caller hangs asterisk continue playing greetings
or whatever.
Can someone give me a hint as to how to solve this or else point me at
some docs?
Thanks very much.
2006 Mar 09
2
TDM11B Hang up detection not working in France ?
Hello,
my config : aah 2.6 (asterisk 1.2.4) , centos 4.2, 1 TDM11B (1 Fxo / 1
fxs ), 1 phone, 1 softphone
I'm in France
When someone from PSTN calls and hangs up before the call is answered,
internal extension keeps ringing until timeout occurs. PSTN line keeps
busy. Hangup detection doesn't work.
I've played with different paremeters (callprogress, busydetect,
busycount,
2007 Aug 15
8
TDM400P FXO click sounds
...lwaiting=yes
threewaycalling=yes
transfer=yes
;canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=yes
echotraining=128
relaxdtmf=yes
rxgain=3.0
txgain=3.0
callgroup=1
pickupgroup=1
immediate=no
;busydetect=yes
;busycount=4
callprogress=no
;busypattern=500,500
;answeronpolarityswitch=yes
;hanguponpolarityswitch=yes
;callprogress=yes
faxdetect=incoming
faxdetect=outgoing
signalling=fxs_ks
group=1
channel=1
signalling=fxs_ks
group=2
channel=2;
singalling=fxs_ks
group=3
channel=3;
;singalling=fxs_ks
;group=1
;channel=4
2009 Sep 07
5
TE420P configuration
...al
rxwink=300
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
group=1
callgroup=1
pickupgroup=1
busydetect=yes
busycount=3
;busypattern=500,500
; DEFINING CHANNEL
context = incoming_context_for_ptcl
signalling=fxs_ks
channel=> 1
--
Best Regards
Shakeel Abbas
--
Best Regards
Shakeel Abbas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20...
2007 Jan 02
4
Error: STATUS_OBJECT_NAME_NOT_FOUND
...uest, NT CREATE
relay -> oob2: Nt Trans Response, NT CREATE,
Error: STATUS_OBJECT_NAME_NOT_FOUND
So, I turned on debugging in smbd, and see this, which lines up
perfectly with the wireshark output:
[2006/12/27 14:01:05, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 500
Primary group is 100 and contains 1 supplementary groups
Group[ 0]: 100
[2006/12/27 14:01:05, 5] smbd/uid.c:change_to_user(260)
change_to_user uid=(500,500) gid=(0,100)
[2006/12/27 14:01:05, 4] smbd/vfs.c:vfs_ChDir(741)
vfs_ChDir to /tmp
[2006/12/27 14:01:05, 5] smbd/nttrans.c:call_nt_tran...