Print

Print


Thanks Sean. Yes I have just started using ECJ and it's greater than what I have expected, actually superb and very well designed. 
I have come back to read more about the framework itself: the overview, class diagrams and other document to know how actually it works.

Thanks for your patience in answering my questions in details. 

Yours,
Hooman


On Fri, Jul 19, 2013 at 11:25 PM, Sean Luke <[log in to unmask]> wrote:
On Jul 17, 2013, at 7:24 PM, Hooman HOMAYOUNFARD wrote:

> I am going to read a csv file including of the transactions for number of items and
> find the frequent itemsets out using a genetic algorithm approach.
> Well, as I found in the tutorials ECJ creates number of genomes and evaluate it
> by an individual to find how the genome(s) is(are) fitted to the target individual.
>
> There are number of questions:
>
> 1- Is it possible to have number of individuals?

Of course, this is the default.  Hooman, this question suggests that you are not very familiar with evolutionary computation methods.  This list is not for answering EC questions, but specifically discussing ECJ's implementation.

> 2- if yes, then: How do the genomes should be evaluated with a number of
> transactions (individuals) of the itemsets?

ECJ is not a frequent itemset tool.  It is up to you to decide how to encode such things in your individuals.

> 3- How I can change the output to print the most fitted genome in each
> generation.

Try setting   stat.do-generation=true   in your parameters.  See Section 3.7 of the manual.

Sean



--
Hooman Homayoun Fard