In** LogisticRegressionwithLBFGS**, if using origional data form http://stat-computing.org/dataexpo/2009/the-data.html without normalized and setting parameters like the following:
instances | dimensions | num of classes | iterations | convergencoTol | regparam | correction |
---|---|---|---|---|---|---|
7340025 | 29 | 10 | 100 | 1E-6 | 1.0 | 10 |
Error “Failure! Resetting history: breeze.optimize.FirstOrderException: Line search failed” will occur and "the result is not converged because max iterations reached".
Line search failed and the result is not converged
In RandomForestClassification,if generating data randomly with mix distribution and setting parameters like the following:
instances | dimensions | form of distribution | num of classes | num of trees | max depth | max bins |
---|---|---|---|---|---|---|
100000 | 100 | mix | 2 | 100 | 30 | 10 |
Error “java.lang.OutOfMemoryError: Java heap space” will occur.
OutOfMemory