Displaying 20 results from an estimated 1000 matches similar to: "Optimization of constrained linear least-squares problem"
2005 Nov 04
2
Simplify iterative programming
Dear,
I am looking for the simplification of a formula to improve the
calculation speed of my program. Therefore I want to simplify the
following formula:
H = sum{i=0..n-1 , [ sum {j=0..m-1 , sqrt ( (Ai - Bj)^2 + (Ci -
Dj)^2) } ] }
where:
A, C = two vectors (with numerical data) of length n
B, D = two vectors (with numerical data) of length m
sqrt = square root
Ai = element of A with index
2004 Sep 07
3
RSync + SSH tunneling through firewall
Dear RSYNCians,
I'm trying to rsync my labtop pc (let's assume A-computer) with my
desktop pc (let's assume C-computer) through our firewall.
In between there is one computer (let's assume B-computer) that has an
open port, so I theoretically could connect via a tunnel.
I checked the SSH- website and internet and so on but did not find an
answer that works.
I tried the
2004 Nov 26
1
Multi-figure plotting
Dear R-ians,
I have a question concerning plotting different plots on one figure. I
have written a script to plot an image, a legend (based on different
rectangles) and a timeseries plot on one figure.
In my R-lagnuage it looks like this (without arguments that are not
usefull for my question):
#---> I first define the functions
image.data<-function(...){
....
#-->Plot the
2005 May 26
1
Simplify formula for heterogeneity
Dear R-ians,
I'm looking for a computational simplified formula to calculate a
measure for heterogeneity (let's say H ):
H = sqrt [ (Si (Sj (Xi - Xj)?? ) ) /n ]
where:
sqrt = square root
Si = summation over i (= 0 to n)
Sj = summation over j (= 0 to n)
Xi = element of X with index i
Xj = element of X with index j
I can simplify the formula to:
H = sqrt [ ( 2 * n * Si (Xi) - 2 Si (Sj
2005 Oct 12
1
Rsync over SSH-tunnel A->B->C using daemon on C
Dear,
I'm trying to put up a scripts to synchronize my computers (HOST_A and
HOST_C). I can connect both via HOST_B to avoid the firewall.
I am trying to work with the rsync daemon to avoid hanging.
I tried to figure out the mailinglist + FAQ, how to do it, but it seems
I misunderstand something, since all your previous help did not work for
me.
I get the following error when executing
2005 Jun 03
2
Simplify formula for iterative programming
Dear R-ians,
I am looking for the simplification of a formula to improve the
calculation speed of my program. Therefore I want to simplify the
following formula:
H = Si (Sj ( sqrt [ (Ai - Aj)?? + (Bi - Bj)?? ] ) )
where:
A, B = two vectors (with numerical data) of length n
sqrt = square root
Si = summation over i (= 0 to n)
Sj = summation over j (= 0 to n)
Ai = element of A with index i
Aj
2005 Oct 11
1
Rsync hangs after a while when tunneling from A->B->C
Dear Rsyncians,
I'm trying to Rsync my windowsXP-pc A and C. There is a firewall in
between A and C, but we have a port open on a linux-machine B to access
C from A (and vica versa) via B.
When I now run my Rsync scripts in cygwin:
#
_______________________________________________________________________________
#!/bin/bash
# Command to synchronize (only update) two computers based on
2006 Mar 23
1
PCA, Source analysis and Unmixing, environmental forensics
I am using R for environmental forensics (determination of the sources
and/or groupings in mixtures of organic chemicals in the field). The
goal is to determine in there are groups of samples with
similar/dissimilar compositions, and to assign samples to a potential
source or a mixture of sources based on the composition (unmixing and
source allocation). Typically there are 10 to 50 chemicals that
2017 Jul 01
1
manual pitch modification
Hello,
When used in SILK mode, is there a way to manually modify the pitch (F0) of
the speech signal before resynthesizing during Opus decoding?
In the below, we have modified the pitch lags of (4), e.g., with a constant
scaling factor 0.5 to decrease the pitch of the voice by one octave.
However, the result was perceptually the same as without modifying the
pitch lags.
+---------+
2008 Aug 14
0
3D constrained nonlinear least squares fit
Hi,
I am new to R, and am trying to solve the following optimization problem:
This is a nonlinear least squares problem. I have a set of 3D voxels. All I
need is to find a least squares fit to this data. The data model actually
represent a cube-like structure, consisting of seven straight lines. The
lines have some intersections (and at this intersection both of the
participating lines end).
2006 Mar 13
1
Constrained least squares
Is there a function in R for constrained linear least squares?
I used the matlab function LSQLIN: my aim is to obtain
non-negative regression coefficients which sum 1.
Thanks in advance,
domenico vistocco
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
2009 Sep 26
1
rsync finds files to sync which don't exist and then crashes
Hello,
I'm running the following script for backup:
SHORTHOST=`hostname | awk 'BEGIN { FS="." } { print $1 }'`
cd $HOME || exit 1
rsync --ignore-errors --max-size=50m -v --delete --delete-excluded
--log-file=/tmp/backup.log --exclude-from=$HOME/.rsync/exclude \
--timeout=3 -az \
$HOME atticserve:/mnt/store/backup/$SHORTHOST
At some point it tries to sync the following
2005 Oct 12
3
AGI and set_callerid for number and name
Hi,
I've been trying to use the set_callerid function in the AGI. It sets
the CallerIDname properly but I can't figure out how to set the
CallerIDnumber.
Is it at at possible ?
Cheers.
SL
2008 Sep 04
6
help for hire? wine crashes when running http://www.verydoc
Hello,
I?m willing to pay $500 to the person that can help me. Of course, free help would be even better :-)
I want to get the software at http://www.verydoc.com/dwg-to-vector.htm to run under wine. This program converts dwg to swf (flash). It?s a command line program that I want to integrate it into a web app.
I can get the conversion tool to give me it?s help message by running ?wine
2012 Jun 15
1
R start screen
After installation of R on windows machine and starting the R program, I only see the R-console but not the RGUI screen... Do I need to re-install or change some settings?
Tx!
Notice: This e-mail message, together with any attachme...{{dropped:14}}
1998 Aug 28
3
Samba and Windows NT
Hi, we use a Windows NT to authenticate our users and I have a subnet with a
Linux server as the router for that subnet.
I run samba-the-latest on Linux and I was told by a Microsoft guy that
this server may be the cause of the security problem on the NT server. It
seems that samba is corrupting the user database on the NT server and my
network admin thinks that the Linux server is the cause.
2001 Mar 13
3
2 samba server in same computer?
Hi
I am trying to find a way to run 2 samba PDC servers on the same computer.
One samba server is the one in production and the other will be used for
testing.
So far I have not found a way to do this, is it possible at all?
I only have one network card.
Jocke
2011 Oct 18
1
Function in nested loop
Hi all,
I would like to run a function with several nested conditions, which are
completely factorial.
The input data (x1) has two different sample sizes, so:
x1 <- dat1
x1 <- dat2
Then a can have 3 different values:
a <- 0.15
a <- 0.35
a <- 0.50
Then b can have 2 different values:
b <- data.matrix (c(0.5,0.5,0.5))
b <- data.matrix (c(0.2,0.4,0.6))
Then d can have 5
2009 Jul 02
0
multiple comparisons and generalized least squares
Dear R users,
I 'm working on a dataset consisting of 4 different dataframes with
tree, leaf, fruit and seed measurements made on 300 trees, coming from
10 provenances (30 trees per provenance, 10 leaves/fruits/seeds per
tree). Provenances are fixed effects (they were not randomly chosen),
but trees within provenances and leaves/fruits/seeds within trees were
randomly assigned. I wanted to
2009 Dec 06
1
R + Hull-White model using nonlinear least squares
Hi guys
I have data that contains the variances vt of the yields of 1, 2, 3, 4,
5,10, 20 year bonds. Assuming the Hull-White model for the yield of a t-year
zero-coupon bond, I have to estimate the ? of the Hull-White model using
nonlinear least squares and give a 95% con?dence interval for each
parameter. Please can you guys tell how to find out ? using R. Any
suggestion regarding what functions