search for: dec1

Displaying 4 results from an estimated 4 matches for "dec1".

Did you mean: dec
2005 Jun 10
1
Sum up the values of a function
...roblem is. I have shorten the code a little bit, so that you only get the necessary facts: ws12 <- function (z, i) (1/(1+exp(z[1]*(z[3]-x1[i]- z[4]*(m1[i]/n1[i]-0.5))))) ws37 <- function (z, i) (1/(1+exp(z[2]*(z[3]-x2[i]- z[5]*(m2[i]/n2[i]-0.5))))) wsAttack12 <- function (z,i) (ws12(z,i)*dec1[i]+(1-ws12(z,i))*(1-dec1[i])) wsAttack37 <- function (z,i) (ws37(z,i)*dec2[i]+(1-ws37(z,i))*(1-dec2[i])) logwsAttack12 <- function (z,i) (log(wsAttack12(z,i))) logwsAttack37 <- function (z,i) (log(wsAttack37(z,i))) ws12sum <- function (z) (logwsAttack12(z,i=1)+logwsAttack12(z,i=2)+logw...
2005 Jan 23
1
[patch] linux-2.6 performance fix
...onfig more than quadrupled iperf throughput, restoring the gigethernet network performance to wire speed at long last. Applies to xen-2.0-testing.bk xen-2.0.bk and xeno-unstable.bk The throughput on linux-2.4.29 seems fine. I hadn''t tried it since 2.4.27. The relevant sccs comment, from Dec1: ======== linux-2.6.10-xen-sparse/arch/xen/configs/xen0_defconfig 1.26.2.1 ======== D 1.26.2.1 04/12/01 11:24:10+00:00 kaf24@scramble.cl.cam.ac.uk 33 30 3/3/1037 P linux-2.6.9-xen-sparse/arch/xen/configs/xen0_defconfig C Enable some more kernel debugging. Remember to turn off before C pushing to t...
2005 May 25
1
[Fwd: Re: [Fwd: failure delivery]]
...quick solution for a forecasting task I'm doing. I have been modelling some retail sales data, and the days just after Thanksgiving (US version!) are important. So I created some dummy variables by a factor called "events" and (really ugly!!) have TG, TG+1, TG+2, etc. Now I also have DEC1, and the calendar and data are such that in the period I'm forecasting I have TG+3 but this is NOT in the estimation data. There are also weekday factors (wdf) and some cross factors (Saturday + some special days is highly significant). The model is Sales ~ daynumber + wdf*events + wdf*speci...
2006 Aug 04
8
Demo in rails2.pdf of add_price migration, PostgreSQL 8.1.4
People, I''m looking at the migrate example on p 74 of the rails2.pdf It''s a simple example of using a migration to add a column to the products table. Here is a copy of the migration file named 002_add_price.rb after I generated and then edited it: class AddPrice < ActiveRecord::Migration def self.up add_column :products, :price, :decimal, :precision => 8, :scale