similar to: genetic algorithm

Displaying 20 results from an estimated 2000 matches similar to: "genetic algorithm"

2009 Apr 28
1
I can't install dprep
When I want to install "dprep" and I always get information: > install.packages("dprep") Warning in install.packages("dprep") : argument 'lib' is missing: using 'C:\Users\Documents/R/win-library/2.8' --- Please select a CRAN mirror for use in this session --- Warning message: package ?dprep? is not available I have tried a lot of mirror...
2008 Dec 09
4
Pre-model Variable Reduction
Hello All, I am trying to carry out variable reduction. I do not have information about the dependent variable, and have only the X variables as it were. In selecting variables I wish to keep, I have considered the following criteria. 1) Percentage of missing value in each column/variable 2) Variance of each variable, with a cut-off value. I recently came across Weka and found that there is an
2003 Oct 23
7
generic algorithm
Dear all, Is there any generic algorithm code for optimization implemented in R? I searched without success. Thanks, -- Zhu Wang Statistical Science Department Southern Methodist University Phone: (214)768-2453 Fax: (214)768-4035 Email: zhuw at mail.smu.edu
2009 Sep 06
1
Two packages and one method
Hi! I want to use one method "combinations" from "gtools" package but in my code I must use also "dprep" method where is method "combinations" too. Mayby I show you result my help function: Help on topic 'combinations' was found in the following packages: Package Library dprep /usr/lib64/R/library gtools
2007 Apr 12
2
problems in loading MASS
Hi, there: After I upgraded my R to 2.4.1, it is my first time of trying to use MASS and found the following error message: > install.packages("MASS") --- Please select a CRAN mirror for use in this session --- trying URL 'http://cran.cnr.Berkeley.edu/bin/macosx/universal/contrib/2.4/VR_7.2-33.tgz' Content type 'application/x-gzip' length 995260 bytes opened URL
2001 Mar 10
2
Is availble CA, GA or MAS available for R for Win?
Hi. Does anyone know whether CA(Cellular Automata), GA(Genetic Algorithm) or Multi-Agent System is available for R for Win? I've already knowna software for these areas, SWARM or startlogo. But I'd like to link R's function with these methods. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Jun 20
1
Error in funcion distancia() in package dprep(v1.0) (PR#9745)
Full_Name: Kang Yousan Version: 2.5.0 OS: Windows XP Submission from: (NULL) (211.137.211.67) There is a bug in function distancia() in package dprep. See the description below. > distancia 1 function (x, y) 2 { 3 if (class(y) == "matrix") { 4 distancia = drop(sqrt(colSums((x - t(y))^2))) 5 distancia = t(distancia) 6 } 7 else distancia =
2007 Dec 19
1
Genetic algorithm for feature selection
Hi, I'm looking for a R-package that does feature selection for PLS using a genetic optimization algorithm. I couldn't find one on CRAN and I wonder whether there is a free one. I would be very appreciative for any help. Regards Rolf
2011 Feb 07
1
can I use the output of a neural network as the fitness function of genetic algorithm?
Hi Everyone, I need to use genetic algorithm to find the minimum. The problem is, I cannot define the fitness function, but I can build a neural network from the input data and use the output as a fitness function. Can this be done? The other problem is, I know there are a few package in R related to GA. So far I know all of them take a specific function as fitness function, is
2012 Sep 02
1
glmulti runs indefinitely when using genetic algorithm with lme4
Dear List, I'm using glmulti for model averaging in R. There are ~10 variables in my model, making exhaustive screening impractical - I therefore need to use the genetic algorithm (GA) (call: method = "g"). I need to include random effects so I'm using glmulti as a wrapper for lme4. Methods for doing this are available here
2011 Oct 11
1
Mean or mode imputation fro missing values
Dear R experts, I have a large database made up of mixed data types (numeric, character, factor, ordinal factor) with missing values, and I am looking for a package that would help me impute the missing values using ?either the mean if numerical or the mode if character/factor. I maybe could use replace like this: df$var[is.na(df$var)] <- mean(df$var, na.rm = TRUE) And go through all the many
2002 Sep 29
2
Problem on minima
2008 Apr 20
1
representing binary data for Genetic Algorithm in R
Hello all, I am trying to implement a simple Genetic Algorithm. I am doing this in R since I want access to the statistical functions (eg lm) it provides. I'm not new to programming, or GAs, but I am totally new to R (the package and the language), and I am hoping someone could help with these questions: 1. I am going to use a binary representation, it seems that vectors of Factors would
2010 Dec 20
2
How to optimize function parameters?
Hi, I have a dataset and I want to fit a function to it. The function is variogram model (http://en.wikipedia.org/wiki/Variogram) The variogram model is defined by three parameters and I want them to be automatically optimized for real time data. I tried to use gafit {gafit} for this, but there are some data configuration, where optimal results given by gafit() are negative, which is not correct
2000 Aug 08
0
New code -- genetic algorithm curve fitting (supports complex numbers)
OK, here is some code that may be of use to someone: http://www.progsoc.uts.edu.au/~telford/samples/R/gafit_0.1.tar.gz Hopefully it might make contrib status on CRAN :-) It uses a genetic algorithm to seek the lowest value of some user-defined target function (or seeks the most negative value if negative values are possible). By using a sum of squared residuals for the target function, it
2003 Oct 10
0
general genetic algorithm / simulated annealing framework
Hi, we have some code that does variable selection with a genetic algorithm or simulated annealing, using a linear regression routine or neural network as the objective function. This code is a mixture of fortran and C. The code is more than 15 years old and I am planning to rework it. Though a C rewrite would be good for efficiency, I would like to protoype it quickly in R and see how it
2002 Aug 06
2
Memory leak in R v1.5.1?
Hi, I am trying to minimize a rather complex function of 5 parameters with gafit and nlm. Besides some problems with both optimization algorithms (with respect to consistantly generating similar results), I tried to run this optimization about a hundred times for yet two other parameters. Unfortunately, as the log below shows, during that batch process R starts to eat up all my RAM,
2006 Oct 30
0
how to combine imputed data-sets from mice for classfication
Dear R users I want to combine multiply imputed data-sets generated from mice to do classfication. However, I have various questions regarding the use of mice library. For example suppose I want to predict the class in this data.frame: data(nhanes) mydf=nhanes mydf$class="pos" mydf$class[sample(1:nrow(mydf), size=0.5*nrow(mydf))]="neg" mydf$class=factor(mydf$class) First I
1998 Nov 21
1
Genetic Algorithms
Hello, I'm new to R, I have two questions: Is there some implementation og Genetic Algorithms in R? Is there a pre-dvi'd manual of R? thanks. E. Crespi. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the
2009 Apr 27
1
MDL - Fayyad & Irani Discretization
Hey, I'm looking for a function which provides a supervised Fayyad & Irani discretization (MDL). I've already found RWeka which has such a function. But is there anything else? I'd prefer to use sth lighter in my own package. Regards, Peter