Description
When I tried to start
examples/src/main/ml/org/apache/ignite/examples/ml/math/regression/DistributedRegressionExample.java
I got exception:
>>> Ignite grid started. >>> Create new SparseDistributedMatrix inside IgniteThread. >>> Create new linear regression object Exception in thread "SparseDistributedMatrixExample-#36%null%" class org.apache.ignite.ml.math.exceptions.UnsupportedOperationException: Unsupported operation. at org.apache.ignite.ml.math.impls.matrix.SparseDistributedMatrix.likeVector(SparseDistributedMatrix.java:146) at org.apache.ignite.ml.math.util.MatrixUtil.likeVector(MatrixUtil.java:87) at org.apache.ignite.ml.regressions.AbstractMultipleLinearRegression.newSampleData(AbstractMultipleLinearRegression.java:126) at org.apache.ignite.ml.regressions.OLSMultipleLinearRegression.newSampleData(OLSMultipleLinearRegression.java:96) at org.apache.ignite.examples.ml.math.regression.DistributedRegressionExample.lambda$main$0(DistributedRegressionExample.java:115) at org.apache.ignite.examples.ml.math.regression.DistributedRegressionExample$$Lambda$1/600958416.run(Unknown Source) at java.lang.Thread.run(Thread.java:745)
Attachments
Issue Links
- is part of
-
IGNITE-6328 in ML examples, class ExampleMatrixStorage doesn't compile
- Resolved
- relates to
-
IGNITE-6222 Adapt Linear regression for distributed environment
- Resolved