INFORMATION GP ATTRIBUTE SELECTION

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

INFORMATION GP ATTRIBUTE SELECTION

Giulia Preschern
Good afternoon,

I'm a student of Psychology of the University of Padua and I use weka. I
would like to ask you an information about the GP attribute selection.

I downloaded the GP attribute selection. I set up on functions: +,-,*, /.
The attribute its create is the follow:

a5 a7 + a5 a5 + a6 a7 + a6 + a7 / - 1.3352281096599106 a6 a7 + /
3.012213044131513 a7 / / / *


Could you kindly explain me how to understand it?


thank you very much for your attention,


Best Regards


Giulia Preschern

_______________________________________________
Wekalist mailing list
Send posts to: [hidden email]
List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Reply | Threaded
Open this post in threaded view
|

Re: INFORMATION GP ATTRIBUTE SELECTION

Eibe Frank-2
Administrator
The corresponding paper for GPAttributeGeneration in WEKA appears to be

  Noakes, C., & Hinde, C. J. (2012, September). Evolving the input space for a decision system. In Computational Intelligence (UKCI), 2012 12th UK Workshop on (pp. 1-5). IEEE.

The paper indicates that expressions are given in postfix order. Here is a page that might help to interpret these expressions:

  http://stackoverflow.com/questions/423898/postfix-notation-to-expression-tree

Cheers,
Eibe


> On 3/02/2017, at 2:06 AM, Giulia Preschern <[hidden email]> wrote:
>
> Good afternoon,
>
> I'm a student of Psychology of the University of Padua and I use weka. I
> would like to ask you an information about the GP attribute selection.
>
> I downloaded the GP attribute selection. I set up on functions: +,-,*, /.
> The attribute its create is the follow:
>
> a5 a7 + a5 a5 + a6 a7 + a6 + a7 / - 1.3352281096599106 a6 a7 + /
> 3.012213044131513 a7 / / / *
>
>
> Could you kindly explain me how to understand it?
>
>
> thank you very much for your attention,
>
>
> Best Regards
>
>
> Giulia Preschern
> _______________________________________________
> Wekalist mailing list
> Send posts to: [hidden email]
> List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html

_______________________________________________
Wekalist mailing list
Send posts to: [hidden email]
List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Reply | Threaded
Open this post in threaded view
|

Re: INFORMATION GP ATTRIBUTE SELECTION

Giulia Preschern
Thankyou Eibe Frank for you answer, but I tried to convert the expression and when I write it in excel, I can't calculate it. 
The converted expression is the follow: (a5 + a7) * (a5 + a5 - (a6 + a7 + a6) / a7) / 1.3352281096599106 / (a6 + a7) / (3.012213044131513 / a7), but i can't understand how to calculate it in excel. How can I do? 

Thankyou 

Giulia. 

2017-02-03 5:28 GMT+01:00 Eibe Frank <[hidden email]>:
The corresponding paper for GPAttributeGeneration in WEKA appears to be

  Noakes, C., & Hinde, C. J. (2012, September). Evolving the input space for a decision system. In Computational Intelligence (UKCI), 2012 12th UK Workshop on (pp. 1-5). IEEE.

The paper indicates that expressions are given in postfix order. Here is a page that might help to interpret these expressions:

  http://stackoverflow.com/questions/423898/postfix-notation-to-expression-tree

Cheers,
Eibe


> On 3/02/2017, at 2:06 AM, Giulia Preschern <[hidden email]> wrote:
>
> Good afternoon,
>
> I'm a student of Psychology of the University of Padua and I use weka. I
> would like to ask you an information about the GP attribute selection.
>
> I downloaded the GP attribute selection. I set up on functions: +,-,*, /.
> The attribute its create is the follow:
>
> a5 a7 + a5 a5 + a6 a7 + a6 + a7 / - 1.3352281096599106 a6 a7 + /
> 3.012213044131513 a7 / / / *
>
>
> Could you kindly explain me how to understand it?
>
>
> thank you very much for your attention,
>
>
> Best Regards
>
>
> Giulia Preschern
> _______________________________________________
> Wekalist mailing list
> Send posts to: [hidden email]
> List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html

_______________________________________________
Wekalist mailing list
Send posts to: [hidden email]
List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html


_______________________________________________
Wekalist mailing list
Send posts to: [hidden email]
List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Reply | Threaded
Open this post in threaded view
|

Re: INFORMATION GP ATTRIBUTE SELECTION

Eibe Frank-2
Administrator
Wow, that's a complex expression indeed. I'm not sure about Excel, but my Linux command-line calculator can deal with it alright. You obviously need to plug in actual instance values for the variables.

Here is what I tried at the Linux command-line, with some values that I just made up:

$ bc -l
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
a5=2
a6=6
a7=3
(a5 + a7) * (a5 + a5 - (a6 + a7 + a6) / a7) / 1.3352281096599106 / (a6 + a7) / (3.012213044131513 / a7)
-.41438840801346749278

When you do the calculation based on actual data, you should check that the result matches the actual new attribute value in the filtered dataset (e.g., look in the data editor in the Preprocess panel of the Explorer). Otherwise, something must have gone wrong in the conversion process.

Cheers,
Eibe

> On 3 Feb 2017, at 23:29, Giulia Preschern <[hidden email]> wrote:
>
> Thankyou Eibe Frank for you answer, but I tried to convert the expression and when I write it in excel, I can't calculate it.
> The converted expression is the follow: (a5 + a7) * (a5 + a5 - (a6 + a7 + a6) / a7) / 1.3352281096599106 / (a6 + a7) / (3.012213044131513 / a7), but i can't understand how to calculate it in excel. How can I do?
>
> Thankyou
>
> Giulia.
>
> 2017-02-03 5:28 GMT+01:00 Eibe Frank <[hidden email]>:
> The corresponding paper for GPAttributeGeneration in WEKA appears to be
>
>   Noakes, C., & Hinde, C. J. (2012, September). Evolving the input space for a decision system. In Computational Intelligence (UKCI), 2012 12th UK Workshop on (pp. 1-5). IEEE.
>
> The paper indicates that expressions are given in postfix order. Here is a page that might help to interpret these expressions:
>
>   http://stackoverflow.com/questions/423898/postfix-notation-to-expression-tree
>
> Cheers,
> Eibe
>
>
> > On 3/02/2017, at 2:06 AM, Giulia Preschern <[hidden email]> wrote:
> >
> > Good afternoon,
> >
> > I'm a student of Psychology of the University of Padua and I use weka. I
> > would like to ask you an information about the GP attribute selection.
> >
> > I downloaded the GP attribute selection. I set up on functions: +,-,*, /.
> > The attribute its create is the follow:
> >
> > a5 a7 + a5 a5 + a6 a7 + a6 + a7 / - 1.3352281096599106 a6 a7 + /
> > 3.012213044131513 a7 / / / *
> >
> >
> > Could you kindly explain me how to understand it?
> >
> >
> > thank you very much for your attention,
> >
> >
> > Best Regards
> >
> >
> > Giulia Preschern
> > _______________________________________________
> > Wekalist mailing list
> > Send posts to: [hidden email]
> > List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
> > List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>
> _______________________________________________
> Wekalist mailing list
> Send posts to: [hidden email]
> List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>
> _______________________________________________
> Wekalist mailing list
> Send posts to: [hidden email]
> List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html

_______________________________________________
Wekalist mailing list
Send posts to: [hidden email]
List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Reply | Threaded
Open this post in threaded view
|

Re: INFORMATION GP ATTRIBUTE SELECTION

Giulia Preschern
thank you very much. I solved the problem with the expression. But now I have another problem. When I put the expression in the filter "Add expression", it appears to me a window saying: 

"problem setting base instances: java.lang.reflect.InvocationTargetException"

So when I look in the data editor in the Preprocess panel I can se the value corresponding to the expression, but when I select the expression in the attribute list I can see the value. 

thank you for helping me. 

Giulia Preschern 

2017-02-03 23:51 GMT+01:00 Eibe Frank <[hidden email]>:
Wow, that's a complex expression indeed. I'm not sure about Excel, but my Linux command-line calculator can deal with it alright. You obviously need to plug in actual instance values for the variables.

Here is what I tried at the Linux command-line, with some values that I just made up:

$ bc -l
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
a5=2
a6=6
a7=3
(a5 + a7) * (a5 + a5 - (a6 + a7 + a6) / a7) / 1.3352281096599106 / (a6 + a7) / (3.012213044131513 / a7)
-.41438840801346749278

When you do the calculation based on actual data, you should check that the result matches the actual new attribute value in the filtered dataset (e.g., look in the data editor in the Preprocess panel of the Explorer). Otherwise, something must have gone wrong in the conversion process.

Cheers,
Eibe

> On 3 Feb 2017, at 23:29, Giulia Preschern <[hidden email]> wrote:
>
> Thankyou Eibe Frank for you answer, but I tried to convert the expression and when I write it in excel, I can't calculate it.
> The converted expression is the follow: (a5 + a7) * (a5 + a5 - (a6 + a7 + a6) / a7) / 1.3352281096599106 / (a6 + a7) / (3.012213044131513 / a7), but i can't understand how to calculate it in excel. How can I do?
>
> Thankyou
>
> Giulia.
>
> 2017-02-03 5:28 GMT+01:00 Eibe Frank <[hidden email]>:
> The corresponding paper for GPAttributeGeneration in WEKA appears to be
>
>   Noakes, C., & Hinde, C. J. (2012, September). Evolving the input space for a decision system. In Computational Intelligence (UKCI), 2012 12th UK Workshop on (pp. 1-5). IEEE.
>
> The paper indicates that expressions are given in postfix order. Here is a page that might help to interpret these expressions:
>
>   http://stackoverflow.com/questions/423898/postfix-notation-to-expression-tree
>
> Cheers,
> Eibe
>
>
> > On 3/02/2017, at 2:06 AM, Giulia Preschern <[hidden email]> wrote:
> >
> > Good afternoon,
> >
> > I'm a student of Psychology of the University of Padua and I use weka. I
> > would like to ask you an information about the GP attribute selection.
> >
> > I downloaded the GP attribute selection. I set up on functions: +,-,*, /.
> > The attribute its create is the follow:
> >
> > a5 a7 + a5 a5 + a6 a7 + a6 + a7 / - 1.3352281096599106 a6 a7 + /
> > 3.012213044131513 a7 / / / *
> >
> >
> > Could you kindly explain me how to understand it?
> >
> >
> > thank you very much for your attention,
> >
> >
> > Best Regards
> >
> >
> > Giulia Preschern
> > _______________________________________________
> > Wekalist mailing list
> > Send posts to: [hidden email]
> > List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
> > List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>
> _______________________________________________
> Wekalist mailing list
> Send posts to: [hidden email]
> List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>
> _______________________________________________
> Wekalist mailing list
> Send posts to: [hidden email]
> List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html

_______________________________________________
Wekalist mailing list
Send posts to: [hidden email]
List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html


_______________________________________________
Wekalist mailing list
Send posts to: [hidden email]
List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Reply | Threaded
Open this post in threaded view
|

Re: INFORMATION GP ATTRIBUTE SELECTION

Giulia Preschern
sorry the computer change me the word. 

So when I look in the data editor in the Preprocess panel I can see the value corresponding to the expression, but when I select the expression in the attribute list I can't see the value. 


2017-02-04 23:02 GMT+01:00 Giulia Preschern <[hidden email]>:
thank you very much. I solved the problem with the expression. But now I have another problem. When I put the expression in the filter "Add expression", it appears to me a window saying: 

"problem setting base instances: java.lang.reflect.InvocationTargetException"

So when I look in the data editor in the Preprocess panel I can se the value corresponding to the expression, but when I select the expression in the attribute list I can see the value. 

thank you for helping me. 

Giulia Preschern 

2017-02-03 23:51 GMT+01:00 Eibe Frank <[hidden email]>:
Wow, that's a complex expression indeed. I'm not sure about Excel, but my Linux command-line calculator can deal with it alright. You obviously need to plug in actual instance values for the variables.

Here is what I tried at the Linux command-line, with some values that I just made up:

$ bc -l
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
a5=2
a6=6
a7=3
(a5 + a7) * (a5 + a5 - (a6 + a7 + a6) / a7) / 1.3352281096599106 / (a6 + a7) / (3.012213044131513 / a7)
-.41438840801346749278

When you do the calculation based on actual data, you should check that the result matches the actual new attribute value in the filtered dataset (e.g., look in the data editor in the Preprocess panel of the Explorer). Otherwise, something must have gone wrong in the conversion process.

Cheers,
Eibe

> On 3 Feb 2017, at 23:29, Giulia Preschern <[hidden email]> wrote:
>
> Thankyou Eibe Frank for you answer, but I tried to convert the expression and when I write it in excel, I can't calculate it.
> The converted expression is the follow: (a5 + a7) * (a5 + a5 - (a6 + a7 + a6) / a7) / 1.3352281096599106 / (a6 + a7) / (3.012213044131513 / a7), but i can't understand how to calculate it in excel. How can I do?
>
> Thankyou
>
> Giulia.
>
> 2017-02-03 5:28 GMT+01:00 Eibe Frank <[hidden email]>:
> The corresponding paper for GPAttributeGeneration in WEKA appears to be
>
>   Noakes, C., & Hinde, C. J. (2012, September). Evolving the input space for a decision system. In Computational Intelligence (UKCI), 2012 12th UK Workshop on (pp. 1-5). IEEE.
>
> The paper indicates that expressions are given in postfix order. Here is a page that might help to interpret these expressions:
>
>   http://stackoverflow.com/questions/423898/postfix-notation-to-expression-tree
>
> Cheers,
> Eibe
>
>
> > On 3/02/2017, at 2:06 AM, Giulia Preschern <[hidden email]> wrote:
> >
> > Good afternoon,
> >
> > I'm a student of Psychology of the University of Padua and I use weka. I
> > would like to ask you an information about the GP attribute selection.
> >
> > I downloaded the GP attribute selection. I set up on functions: +,-,*, /.
> > The attribute its create is the follow:
> >
> > a5 a7 + a5 a5 + a6 a7 + a6 + a7 / - 1.3352281096599106 a6 a7 + /
> > 3.012213044131513 a7 / / / *
> >
> >
> > Could you kindly explain me how to understand it?
> >
> >
> > thank you very much for your attention,
> >
> >
> > Best Regards
> >
> >
> > Giulia Preschern
> > _______________________________________________
> > Wekalist mailing list
> > Send posts to: [hidden email]
> > List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
> > List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>
> _______________________________________________
> Wekalist mailing list
> Send posts to: [hidden email]
> List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>
> _______________________________________________
> Wekalist mailing list
> Send posts to: [hidden email]
> List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html

_______________________________________________
Wekalist mailing list
Send posts to: [hidden email]
List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html



_______________________________________________
Wekalist mailing list
Send posts to: [hidden email]
List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Reply | Threaded
Open this post in threaded view
|

Re: INFORMATION GP ATTRIBUTE SELECTION

Eibe Frank-2
Administrator
Not sure I understand what you are trying to do. There should be no need to use AddExpression because GPAttributeGeneration creates a new attribute for the expression anyway.

Cheers,
Eibe

> On 5 Feb 2017, at 11:03, Giulia Preschern <[hidden email]> wrote:
>
> sorry the computer change me the word.
>
> So when I look in the data editor in the Preprocess panel I can see the value corresponding to the expression, but when I select the expression in the attribute list I can't see the value.
>
>
> 2017-02-04 23:02 GMT+01:00 Giulia Preschern <[hidden email]>:
> thank you very much. I solved the problem with the expression. But now I have another problem. When I put the expression in the filter "Add expression", it appears to me a window saying:
>
> "problem setting base instances: java.lang.reflect.InvocationTargetException"
>
> So when I look in the data editor in the Preprocess panel I can se the value corresponding to the expression, but when I select the expression in the attribute list I can see the value.
>
> thank you for helping me.
>
> Giulia Preschern
>
> 2017-02-03 23:51 GMT+01:00 Eibe Frank <[hidden email]>:
> Wow, that's a complex expression indeed. I'm not sure about Excel, but my Linux command-line calculator can deal with it alright. You obviously need to plug in actual instance values for the variables.
>
> Here is what I tried at the Linux command-line, with some values that I just made up:
>
> $ bc -l
> bc 1.06
> Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
> This is free software with ABSOLUTELY NO WARRANTY.
> For details type `warranty'.
> a5=2
> a6=6
> a7=3
> (a5 + a7) * (a5 + a5 - (a6 + a7 + a6) / a7) / 1.3352281096599106 / (a6 + a7) / (3.012213044131513 / a7)
> -.41438840801346749278
>
> When you do the calculation based on actual data, you should check that the result matches the actual new attribute value in the filtered dataset (e.g., look in the data editor in the Preprocess panel of the Explorer). Otherwise, something must have gone wrong in the conversion process.
>
> Cheers,
> Eibe
>
> > On 3 Feb 2017, at 23:29, Giulia Preschern <[hidden email]> wrote:
> >
> > Thankyou Eibe Frank for you answer, but I tried to convert the expression and when I write it in excel, I can't calculate it.
> > The converted expression is the follow: (a5 + a7) * (a5 + a5 - (a6 + a7 + a6) / a7) / 1.3352281096599106 / (a6 + a7) / (3.012213044131513 / a7), but i can't understand how to calculate it in excel. How can I do?
> >
> > Thankyou
> >
> > Giulia.
> >
> > 2017-02-03 5:28 GMT+01:00 Eibe Frank <[hidden email]>:
> > The corresponding paper for GPAttributeGeneration in WEKA appears to be
> >
> >   Noakes, C., & Hinde, C. J. (2012, September). Evolving the input space for a decision system. In Computational Intelligence (UKCI), 2012 12th UK Workshop on (pp. 1-5). IEEE.
> >
> > The paper indicates that expressions are given in postfix order. Here is a page that might help to interpret these expressions:
> >
> >   http://stackoverflow.com/questions/423898/postfix-notation-to-expression-tree
> >
> > Cheers,
> > Eibe
> >
> >
> > > On 3/02/2017, at 2:06 AM, Giulia Preschern <[hidden email]> wrote:
> > >
> > > Good afternoon,
> > >
> > > I'm a student of Psychology of the University of Padua and I use weka. I
> > > would like to ask you an information about the GP attribute selection.
> > >
> > > I downloaded the GP attribute selection. I set up on functions: +,-,*, /.
> > > The attribute its create is the follow:
> > >
> > > a5 a7 + a5 a5 + a6 a7 + a6 + a7 / - 1.3352281096599106 a6 a7 + /
> > > 3.012213044131513 a7 / / / *
> > >
> > >
> > > Could you kindly explain me how to understand it?
> > >
> > >
> > > thank you very much for your attention,
> > >
> > >
> > > Best Regards
> > >
> > >
> > > Giulia Preschern
> > > _______________________________________________
> > > Wekalist mailing list
> > > Send posts to: [hidden email]
> > > List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
> > > List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
> >
> > _______________________________________________
> > Wekalist mailing list
> > Send posts to: [hidden email]
> > List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
> > List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
> >
> > _______________________________________________
> > Wekalist mailing list
> > Send posts to: [hidden email]
> > List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
> > List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>
> _______________________________________________
> Wekalist mailing list
> Send posts to: [hidden email]
> List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>
>
> _______________________________________________
> Wekalist mailing list
> Send posts to: [hidden email]
> List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html

_______________________________________________
Wekalist mailing list
Send posts to: [hidden email]
List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html