New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error Dbscan.train on 9_1M.csv (cannot assign instance of scala.collection.immutable.List$SerializationProxy to field org.alitouka.spark.dbscan.spatial.Box.adjacentBoxes of type scala.collection.immutable.List in instance of org.alitouka.spark.dbscan.spatial.Box) #22
Comments
I have the same problem. This problem occur when use spark 1.6 and higher. It works when reduce number of points below org.alitouka.spark.dbscan.spatial.rdd.PartitioningSettings.DefaultNumberOfPointsInBox . But in this case calculation performed in one container. |
I found solution. I reduced scala version to 2.10 because at higher version some methods became deprecated, and it worked. |
I tried compiling the library with scala version 2.10.6 and spark 2.1.0 but still no luck, it throws the same exception. @valera7979 could you explain how did you manage to make it work? |
I made a pull request. See #24 |
i get the same error, but my friends runs it and no error. very confused the code. |
i get the same error , but i solved this problem by the following code . it does work well. |
@sfdan473414 could you give the filename(s) and line number please? |
@valera7979 |
The filename is DbcanDriver,but this problem occur again when the dataset is large (100M_4d). when i run it using small dataset (150 records) ,it does work well . |
My scala version is 2.11.12 and spark version is 2.0.0.cloudera2(spark 2.x). Class name : org.alitouka.spark.dbscan.spatial.Box private [dbscan] class Box (val bounds: Array[BoundsInOneDimension], val boxId: BoxId = 0, val partitionId: Int = -1, @transient var adjacentBoxes: List[Box] = Nil) Now the program can run well in big datasets or small datasets. |
Dose the code support high dimension data? |
Thank you very much @sfdan473414 |
Zeppelin notebook export json https://gist.github.com/0f067d6ff2239500ca8eed7d38b5872b
Built on commit d3b085286ccb16b146e7bb5234765cbc23e11c66
error log https://gist.github.com/ttpro1995/7437b1f3b1f944fd26daf2ef4ba73efe
build.sbt
The text was updated successfully, but these errors were encountered: