Symbolic regression

70 views
Skip to first unread message

Hossam

unread,
Feb 27, 2012, 8:32:51 AM2/27/12
to HeuristicLab
Hi everyone!
I am new to HeuristicLab. I see this is amazing software.
I want to start a new Symbolic Regression Problem (multi objective).
but my problem is that i cant add new input variables. i see only x
and y in the items list. The "+" icon is disables. I tried to import
my own CSV file with two input variables and one output i got this
error

Sequence contain no elements

Details :
InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
at
HeuristicLab.Problems.DataAnalysis.RegressionProblemData.ImportFromFile(String
fileName)
at
HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.SymbolicRegressionMultiObjectiveProblem.ImportProblemDataFromFile(String
fileName)
at
HeuristicLab.Problems.DataAnalysis.Views.DataAnalysisProblemView.ImportButton_Click(Object
sender, EventArgs e)

your help is highly appreciated
Thanx

-Hossam

Michael Kommenda

unread,
Feb 27, 2012, 8:58:31 AM2/27/12
to heuris...@googlegroups.com
Dear Hossam,

The "+" icon is always disabled in the variables item list, as the
available variables are determined by the dataset. The normal way to
create a new symbolic regression problem is to import the raw data from
a CSV file. It is very likely that the format of your CSV file is wrong.
The formats that could be parsed by HeuristicLab are described at
http://dev.heuristiclab.com/trac/hl/core/wiki/UsersFAQ#DataAnalysisImportFileFormat
and additional example CSV files can be found at
http://dev.heuristiclab.com/trac/hl/core/wiki/AdditionalMaterial.

Additionally, I would recommend to create a new Symbolic Regression
Problem (single objective) instead of a multi objective one in the
beginning, as this is easier to configure correctly and the solutions
are easier to interpret.

Kind regards,
Michael

hossam faris

unread,
Feb 27, 2012, 2:17:20 PM2/27/12
to heuris...@googlegroups.com
Thank you so much. That was so helpful !
Now it works. My CSV had wrong format.
Thanks again.
--
Hossam O.Faris, Ph.D 
Business Information Systems
King Abdulla II School for Information Technology
University of Jordan
Amman - Jordan

           hossam...@unisalento.it
           7os...@gmail.com
           
          

Reply all
Reply to author
Forward
0 new messages