Closed mak-rayate closed 1 year ago
Hi Mak, could you check the table structure? You can use res.get_table_structure() for training dataset and you can also use it for the predicting dataset. The training dataset should contain [ID] + [FEATURES] + [LABEL] while the predicting dataset only contains [ID] + [FEATURES]. The type of FEATURES should be the same.
Hello Raymondyao,
Thank you for your response. Yes , the training dataset has ID + features + label. I'm getting this error while training the model. I have checked the table structure which is as below : {'Feature_1': 'NVARCHAR(9)', 'Feature_2': 'NVARCHAR(40)', 'Feature_3': 'NVARCHAR(20)', 'Feature_4': 'NVARCHAR(2)', 'Feature_5': 'NVARCHAR(10)', 'Feature_6': 'NVARCHAR(5)', 'ID': 'NVARCHAR(26)', 'Target': 'NVARCHAR(120)'}. For me it doesn't seem any problem with that. I'm really stuck at this point
Hi mak, I can successfully run your script with my faked data for the training. Would you mind if you can share a sample of your dataset so I can do further investigation.
Hello , Sorry due to security purpose I can not share any sample data . I have run my code in J-notebook . it works fine but for same code when I run in SAP DI . I'm getting an error. For now I'm closing this issue because it's related with SAP DI tool I guess .
Hello , I have performed some testing on data .
Data details : sample data count = 5382 stratify 0.5 data count = 2691
sample Data distribution : <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">
Target | Count -- | -- class 1 | 208 class 2 | 219 class 3 | 283 class 4 | 293 class 5 | 323 class 6 | 351 class 7 | 383 class 8 | 410 class 9 | 421 class 10 | 457 class 11 | 460 class 12 | 462 class 13 | 527 class 14 | 585
Hello , I'm unable to understand below error for hana_ml version --> 2.14.22120100
Error :
ERROR:hana_ml.algorithms.pal.unified_classification:(423, 'AFL error: "HC_APL"."(DO statement)": line 60 col 1 (at pos 1957): search table error: _SYS_AFL.AFLPAL:UNIFIED_CLASSIFICATION_ANY: [423] (range 3) AFL error exception: exception 73001255: PAL error[73001255]:Invalid model. Model format does not match specification.. :nodes/n\n')
I'm using PAL algorithm as below :
I have cross checked already that features are available in dataset as well as named it properly . It works when I ran it yesterday. but today for same dataset and same code --> it's giving me above error.
Can anyone please help me to understand the root cause of this error.