Displaying 10 results from an estimated 10 matches for "getmodel".
Did you mean:
setmodel
2006 Feb 09
5
Ajax.Updater not populating element - please help
Hello everyone,
This is related to my post a few days ago regarding multi select
lists. I''ve rewritten the code and now can''t seem to get the
Ajax.Updater in getModels() to "execute", and the element never gets
populated.
I know it''s something obvious and hope someone could point it out to me.
Thanks for any help.
Here''s my code:
<script src="/js/prototype.js" type="text/javascript"></script>
<...
2024 Nov 01
1
Invalid term in model formula with gmm after formula.tools is loaded
...on = "na.pass")
7: model.frame(data = object$data, formula = NA ~ NA, drop.unused.levels = TRUE,
na.action = "na.pass") # <-- formula is already NA ~ NA here
6: eval(mfh, parent.frame())
5: eval(mfh, parent.frame())
4: getDat(object$g, object$x, data = object$data)
3: getModel.baseGmm(all_args, ...)
2: getModel(all_args, ...)
1: gmm(z ~ zm, x = ~zm)
It seems that in base R, as.character(z ~ zm) returns a three-element
character vector, while with formula.tools loaded, it only returns a
single string, 'z ~ zm'. This breaks formula manipulation in getDat().
An im...
2024 Nov 03
1
Invalid term in model formula with gmm after formula.tools is loaded
...model.frame(data = object$data, formula = NA ~ NA, drop.unused.levels =
> TRUE,
> na.action = "na.pass") # <-- formula is already NA ~ NA here
> 6: eval(mfh, parent.frame())
> 5: eval(mfh, parent.frame())
> 4: getDat(object$g, object$x, data = object$data)
> 3: getModel.baseGmm(all_args, ...)
> 2: getModel(all_args, ...)
> 1: gmm(z ~ zm, x = ~zm)
>
> It seems that in base R, as.character(z ~ zm) returns a three-element
> character vector, while with formula.tools loaded, it only returns a
> single string, 'z ~ zm'. This breaks formula man...
2024 Oct 30
1
Invalid term in model formula with gmm after formula.tools is loaded
Hi everyone,
I am using the gmm function from the gmm package and encountered an
unexpected error. No model can be estimated if I load formula.tools?I need
to restart R each time. Here is a simple reproducible example:
*library(gmm)data(Finance)r <- Finance[1:300, 1:10]rm <- Finance[1:300,
"rm"]rf <- Finance[1:300, "rf"]z <- as.matrix(r-rf)zm
2010 Mar 15
2
Issue w/JGR after 2.10 upgrade: Error: could not find function...
After upgrading to R 2.10 and upgrading and testing JGR 1.7, I and other
Ubuntu users are getting repeated error messages in JGR that look like this:
> Error: could not find function ".getModels"
Error: could not find function ".getDataObjects"
Error: could not find function ".getOtherObjects"
Error: could not find function ".getFunctionsInWS"
The object browser and package manager also do not work.
See: http://ubuntuforums.org/showthread.php?t=1402621...
2010 May 24
0
[PATCH matahari] Moves the CPU properties into the Host API space.
...stener(ProcessorsListener* listener)
-{
- _listeners.erase(listener);
-}
-
-void
-Processors::update()
-{
- for(set<ProcessorsListener*>::iterator iter = _listeners.begin();
- iter != _listeners.end();
- iter++)
- {
- (*iter)->updated();
- }
-}
-
-string
-Processors::getModel() const
-{
- return Platform::instance()->get_processor_model();
-}
-
-
-unsigned int
-Processors::getNumberOfCores() const
-{
- return Platform::instance()->get_number_of_cores();
-}
-
-float
-Processors::getLoadAverage() const
-{
- return Platform::instance()->get_load_average();
-}
d...
2010 May 19
2
Squashed commits...
Refactoring the previous patch ended up creating two deltas. This
patch pushes them both together into a single commit.
2011 Feb 28
0
Gamma mixture models with flexmix
...(ii in 1:KK) {
lines(x, y[[ii]], col=cols[ii])
}
}
##
## Model dat as a mixture of Gammas then plot.
##
modelGammas <- function(dat, which='BIC') {
set.seed(939458)
fmo <- stepFlexmix(dat ~ 1, k=1:3,
model=FLXMRglm(family='Gamma'))
mdl <- getModel(fmo, which=which)
print(smry <- summary(mdl))
print(prm <- parameters(mdl))
plotGammaMixture(dat, prm['shape', ],
prm['shape', ]*prm['coef.(Intercept)', ],
smry at comptab[, 'prior'])
}
##
## Works well for a single...
2003 May 08
3
R crashes with package SJava; was Memory leakage?
Dear all,
Maybe this has something to do with R crashing?
When my R version crashes, there is Rgui.exe still
running in the background (i.e. W2K's task manager
recognises it only as a process, which apparently
is using almost 100% of the CPU).
I can reproduce that by "using" the SJava package
(from Brian Ripley's homepage, as suggested on
http://www.omegahat.org/RSJava/).
2010 Apr 19
1
[PATCH matahari] Removes all code for the previous CPUWrapper class.
...tus_t ManagementMethod(uint32_t methodId, Args& args, string& text) {
- return STATUS_NOT_IMPLEMENTED;
- }
-
- // Field Accessors
- int getCpunum(void) { return cpunum; }
- int getCorenum(void) { return corenum; }
- int getNumcores(void) { return numcores; }
-
- int getModel(void) { return model; }
- int getFamily(void) { return family; }
- int getCpuid_Lvl(void) { return cpuid_lvl; }
- double getSpeed(void) { return speed; }
- int getCache(void) { return cache; }
-
- const string &getVendor(void) { return vendor; }
- const string &getFlags(vo...