The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
prediction with new attribute
Hi.
I am currently building a predictive model. I have a data set of 200x500. I want to use SVM to predict the next 10 attribute so when i finish the new data set will be 200x510. I have tried to loop and generate new attribute and replace the value with prediction values but it does not work since I do not understand how to set up the macro to generate attribute with numbers, I want the new attribute to have names like "att501, att502, att503, etc... ". Any help would be appreciated.
0
Answers
Hello, @hung9022
Do you mind sharing your XML process to understand what are you doing? Thanks in advance.
All the best,
hi @hung9022,
I'm agree with @rfuentealba : Share your process will help us to better understand your problem.
But as first element of answer, does this process helps you :
Regards,
Lionel
Hi, sorry for not including the process.Here is the process I wanted to use. I read a csv file from another source which has a example set size as i have mentioned. I import a csv file from a source and generate an example set with a size 300x500. I want to predict the future values of this data set with SVM. My loop process is where i am trying the generate these values but I notice this is not the proper way of doing it. I attached the file that i want to use for this process.
Hi again @hung9022,
I must admit that I do not understand what you want to do.
Can you explain more explicitly by giving a simple example of your initial dataset(s) and the dataset you want to obtain ?
Regards,
Lionel
hi,
From the initial data set, let say a 343 row x600 column matrix. I want to run this matrix through the svm prediction algorithm to predict new values, let say 10 new values. The result example set will be 343x610 matrix where the new 10 column will be the predicted values.
regards,
Hi again @hung9022,
Have you checked the process I shared in my first post ?
Does it help you ?
Regards,
Lionel
Hi there,
I haven't seen the XML processes posted by @hung9022 or @lionelderkrikor because my computers have been performing heavy duty tasks, but this problem is interesting.
I wanted to share some thoughts before heading to lunch.
In certain programming languages there is a definition of functor as a function generator that operates on collections rather than scalar variables. The SVM operator is one of these functors. For the sake of simplicity, let's say that there is a summatory (the words for "suma" and "sumatoria" in English seem to be the same word "sum", so I had to invent one here) operator that returns a sum of a variable collection (that's a basic functor).
So you have the following entries:
2, 2
3, 3
And you have your functor:
summatory(2, 2)
summatory(3, 3)
The functor returns:
2, 2, 4
3, 3, 6
And you want to call your functor again:
summatory(2, 2, 4)
summatory(3, 3, 6)
So you can get the result:
2, 2, 4, 8
3, 3, 6, 12
Now, that is what you want but with SVM instead of summatory, is that what you want?
Once my computers release memory, I might be able to check both processes, but it looks strange indeed. Perhaps someone else has a better idea.
All the best,
Rodrigo.
hi,
@lionelderkrikor , I have just taken a look at the process you showed, it actually solved one of my problems with generate new column, and it also showed me what i did wrong as well. Thanks a lot.
@rfuentealba , yeah what i want is the Support Vector Machine prediction. I just want to build a simple prediction algorithm, then test them with different prediction learner available in rapidminer to see which is more accurate with my data.
Regard,