Pages: [1]
  Print  
Author Topic: Is it possible to convert Real data type to Numeric data type  (Read 900 times)
subhasisdasgupta
Newbie
*
Posts: 15


« on: July 19, 2013, 05:30:35 PM »

I was using Process Document from Data to get TF-IDF scores and by default they are coming under Real data type. There is no way I can convert Real to Numeric data type which restricts me in running PCA or SVD as they can accept only numeric data type. Any help in this regard will be very much appreciated.
Logged
Marius
Administrator
Hero Member
*****
Posts: 1793



WWW
« Reply #1 on: July 22, 2013, 01:27:03 PM »

To make it short: there is no such operator to convert real to numeric. However, I can apply the PCA after Process Documents without problems. Which version of RapidMiner and the Text Processing extension are you using"?

Best regards,
Marius
Logged

Please add [SOLVED] to the topic title when your problem has been solved! (do so by editing the first post in the thread and modifying the title)
Please click here before posting.
subhasisdasgupta
Newbie
*
Posts: 15


« Reply #2 on: August 04, 2013, 10:17:03 AM »

I was using "Process Document from Data" operator in the earlier version of 5.3.1. I faced this problem over there and then, to have an work around, I used "Process Document" operator after converting data to document using "Data to Document" operator. There I did not find the problem. It might just be a bug I guess.
Logged
awchisholm
Sr. Member
****
Posts: 369


WWW
« Reply #3 on: August 04, 2013, 04:59:56 PM »

Hello

Try "Format Numbers" immediately followed by "Parse Numbers".

regards

Andrew
Logged

CharlieFirpo
Newbie
*
Posts: 48


« Reply #4 on: August 05, 2013, 03:15:46 PM »

Hello!

What about "Real to Integer" operator?

It can be very helpful if you have numbers (integers) in an .xls, because "Read Excel" operator automatically convert these integers into real numbers, so one has to convert these numbers back to integers.
Logged
Pages: [1]
  Print  
 
Jump to: