[
https://issues.apache.org/jira/browse/IGNITE-6315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16158971#comment-16158971
]
Denis Magda commented on IGNITE-6315:
-------------------------------------
[~chief], did the example work before? Assume that it did because I don't see a
reason why it was added to the example folder.
> Exception during DistributedRegressionExample (ML)
> --------------------------------------------------
>
> Key: IGNITE-6315
> URL: https://issues.apache.org/jira/browse/IGNITE-6315
> Project: Ignite
> Issue Type: Bug
> Components: general
> Affects Versions: 2.1
> Reporter: Ilya Suntsov
> Assignee: Yury Babak
> Fix For: 2.3
>
>
> When I tried to start
> {noformat}examples/src/main/ml/org/apache/ignite/examples/ml/math/regression/DistributedRegressionExample.java{noformat}
> I got exception:
> {noformat}
> >>> 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)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)