Closed sonalgoyal closed 10 months ago
When there is no training data available, NullPointerException is thrown.
Other problematic scenarios: (refer to attached log file)
An appropriate error message should be added to ask user to add more training data
let's fix all
@gnanaprakash-ravi please verify this
Hi,
when trainingData is null
when neg is null and pos is less than 5 result:
When pos is equal to 5 and neg is null result:
when pos and neg are exactly equal to 5 in the train phase (Needs to be analyzed intensively) This behavior is occurring on the new model and new zinggdir I suspect this error might be related to Apache Spark library but this was intercepted by zinggbusinessexception: (after the code change)
1,2,3 are working as expected. 4 is giving an exception with the error around less data. No fix needed.
Reported by Luke from Databricks
zingg_Dec21_0823_log4j-active (1).txt zingg_Dec21_0823_sdtderr.txt