Displaying 20 results from an estimated 4000 matches similar to: "inherits from parametrized class"
2012 Feb 19
4
roolback to previouse configuration
Hello
Does anybody share how to roll-back configuration if puppet definition on
host is change. For example Let''s assume we have host on which initial was
web server and bunch of users. All this resources we configured throw
puppet.
node <some node>
{
<webserver difinition>
<user1 definition>
<user2 definition>
<user3 definition>
}
At some
2010 Sep 21
2
multiplying values in data frame by corresponding value in the first column
I am sure there is a simple solution to this... I have a column in a
data frame specifying a grouping (1, -1) for my observations, and need
to mutliply each observation in all the other columns of the data frame
by the corresponding value in the given column. I played with apply, and
saw some suggestions for sweep, but did not manage to get it working.
My table contains NAs....
Example of
2008 Mar 10
5
Passing extra parameters to functions called from Observers
Hi again,
When you have an ''obeserver'' setup as follows:
$(''myForm'').observe(''submit'', validateForm);
If a user submits the form the ''validateForm'' function is called and
is automagically passed the ''event'' to work with. This is fantastic!
But is there a way to pass another argument to the function?
2008 Jun 12
1
XML parameters to Column Headers for importing into a dataset
Dear List,
Do you know any way I can convert XML parameters into column headers. My
data is in a csv file with each row containing a xml form of data , and
multiple parameters (
<param1> data_val1 </param2> , <param2> data_val2 </param2> )
I want to convert it so each row caters to one record and each parameter
becomes a different column.
param1
2005 Oct 06
8
accessing extra request parameters
hi all,
how are other people passing and accessing ''get'' parameters from their apps?
what is the best way to do it?
ie:
www.example.com/controller/action/id/extra/extra2/ ??
or
www.example.com/controller/action/id/~extra/extra2/
or what ever....
are there built in methods for passing and accessing extra parameters?
thanks for your suggestions
-felix
2007 Nov 19
3
link_to and GET parameters
Hi,
I am trying to generate a link to external site with GET parameters
( in new window).
I tried following code, but it does not produce any parameters.
<%=link_to "Open New Page", "https://www.foo.com/page/", {:popup =>
true}, {:param1 => "value1", :param2 => "value2"}%>
and
<%=link_to "Open New Page",
2008 May 28
3
Plug-in support for Camping Apps
# camping_plugin.rb
# plug-in support for Camping Apps
# require ''lib/camping_plugin''
# override R helper method to your liking :-)
module Camping
module PluginHelpers
def R_with_module(c,*g)
p,h=/\(.+?\)/,g.grep(Hash)
g-=h
raise "bad route" unless u = c.urls.find{|x|
break x if x.scan(p).size == g.size &&
2006 Sep 15
3
How to catch a parameter that contains a full url
Hi
I need some help!
I have controller that I need to pass a full url (with its own
parametrs) as a parameter, e.g. I want to call my controller with:
/mycontroller/catchurl?url=http://somedomain.com/afile.jsp?param1=xx¶m2=yy
and in action "catchurl" in mycontroller.rb I would like to have
params[:url] to be
"http://somedomain.com/afile.jsp?param1=xx¶m2=yy"
2008 Jun 11
2
MLE Estimation of Gamma Distribution Parameters for data with 'zeros'
Greetings, all
I am having difficulty getting the fitdistr() function to return without
an error on my data. Specifically, what I'm trying to do is get a
parameter estimation for fracture intensity data in a well / borehole.
Lower bound is 0 (no fractures in the selected data interval), and upper
bound is ~ 10 - 50, depending on what scale you are conducting the
analysis on.
I read in the
2012 Jun 25
3
Loop for multiple plots in figure
Hello, I have longitudinal data of the form below from N subjects; I am
trying to create figure with N small subplots on a single page, in which
each plot is from only one subject, and in each plot there is a separate
curve for each value of param1.
So in this case, there would be four plots on the page (one each for Bob,
Steve, Kevin and Dave), and each plot would have two separate curves (one
2011 Apr 24
2
Multi-dimensional non-linear fitting - advice on best method?
Hello!
I have a set of data of the form (x, y1, y2) where x is the
independent variable and (y1, y2) is the response pair. The model is
some messy non-linear function:
(y1, y2) = f(x; param1, param2, ..., paramk) + (y1error, y2error)
where the parameters param1, ..., paramk are to be estimated, and I'll
assume the errors to be normal for sake of simplicity.
If there were only one
2003 May 28
3
Slow computation in for loop
Dear members,
I'm using R to do some test computation on a set of parameters of a
function. This function is included in three for() loops, first one for
replications, and the remaining two cycling through possible parameters
values, like this :
for (k in replicates) {
data <- sampling from a population
for (i in param1) {
for (j in param2) {
result <- function(i,
2012 Feb 02
3
MVC questions with rails
2007 Nov 01
1
structure data
Hello,
I have a quite simple question, I guess. I have a data frame and I would like
to process the data in several ways.
The processing is dependent on grouping (factors) and the parameter itself.
Meaning for parameter1 in the df, I would like to calculate the mean and sd
when grouping by factor1. But parameter2 might be different. I thought of a
structure like this:
group1
param1
2008 May 28
1
Search&replace string?
Hi there,
I would like to know if it is possible to modify a text file with a R function.
In fact I would like to know if a function "Search & Replace" exists.
My problem is to create config files from a Base file in which I have to modify values of parameters.
My Base File:
#...
#...
Param1= V1_1
#...
Param2 = V2_1
Param3 = V3_1
#...
What I would like for each created file
2006 Aug 16
7
ActionWebService: XMLRPC Server Multicall possible?
Hi all,
I have a question concerning ActionWebService XMLRPC servers: Is it
possible to send multicall requests to the Web service? I tried to
use multicall and get the error message:
no such method ''system.multicall'' on API [MyAPI]
In Changeset 2021 there is the following commit message:
add ''system.multicall'' support to XML-RPC. boxcarred methods must
2012 Dec 13
1
PLEASE REMOVE FROM LIST SERVE NOW!
PLEASE REMOVE ME FROM THIS LIST SERVE IMMEDIATELY!!!!!!
On Wed, Dec 12, 2012 at 6:41 PM, dada <paxkn@nottingham.ac.uk> wrote:
> Hi
> I would like to do neural netowrk analysis on my data. It look like this:
>
> drug param1 param2 param3 param4 param5 class
> A 111 15 125 40 0.5 1
> B 347 13 280 55 3 2
>
2013 Jun 27
4
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
Adds H.264 and MPEG2 codec support via VP2, using firmware from the
blob. Acceleration is supported at the bitstream level for H.264 and
IDCT level for MPEG2.
Known issues:
- H.264 interlaced doesn't render properly
- H.264 shows very occasional artifacts on a small fraction of videos
- MPEG2 + VDPAU shows frequent but small artifacts, which aren't there
when using XvMC on the same
2006 Sep 07
13
How to handle config files used by a combination of classes?
Hi,
How should I handle the combinatorics when one config file must be
built for a combination of possible classes?
Take for example the amd automounter''s configuration file, which on
Debian is found at /etc/am-utils/amd.conf. This is an INI style file
which looks like:
[fsname1]
param1=foo
param2=bar
[fsname2]
param1=baz
param2=quag
In my case I have one class of machines
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