Open rzechu opened 1 year ago
@rzechu
It's because some datetime columns in your sql data has null value. I remove all datetime type columns and train successfully.
We'll fix that issue in ML.Net. In the meantime, as a workaround, you can either ignore datetime columns or set those type to be single --- which won't effect the training result because datetime is parsed as single in training pipeline as well
Thank you for quick reply I have done workaround using DateDiff(d, datecol, Getdate()) and nullchecking Have you checked 2nd issue?
BONUS if you make a View, replace 1 column with empty/null and use this View for DataClassification
CREATE OR ALTER VIEW XYZ AS SELECT ..... , RIGHT(StringCol3,0) AS StringCol3 ..... FROM AIBug
You will get another error
Schema mismatch for input column 'StringCol3_CharExtractor': expected Expected known-size vector of Single, got Vector<Single> Parameter name: inputSchema
Still investigating
System Information (please complete the following information):
Describe the bug I have seen few issues regarding similliar error but all of them regards ImageClassification. Mine regards DataClassification
DataClassification using SQL Server View
To Reproduce
Can't attach those columns due to sensitive data. But I anoymyzed and trimmed enought data to reproduce (attached SQL scripts to create table and insert records) This should be enough to reproduce this error. aibug.zip
Splitter/consolidator worker encountered exception while consuming source data
BONUS if you make a View, replace 1 column with empty/null and use this View for DataClassification
You will get another error
Expected behavior No error? Or human readable information what is wrong and how to fix it.
Screenshots, Code, Sample Projects If applicable, add screenshots, code snippets, or sample projects to help explain your problem.