gu-youngfeng / behaviordection Goto Github PK
View Code? Open in Web Editor NEWOperation mining in Event interaction dataset
License: Apache License 2.0
Operation mining in Event interaction dataset
License: Apache License 2.0
When running the cstar.yongfeng.collect.Launcher
to get the metrics of each userZip, an unexpected exception occurs. The stack trace is as follows,
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at com.google.gson.internal.LinkedTreeMap.<init>(LinkedTreeMap.java:52)
at com.google.gson.internal.LinkedTreeMap.<init>(LinkedTreeMap.java:60)
at com.google.gson.JsonObject.<init>(JsonObject.java:33)
at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:664)
at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:659)
at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:667)
at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:659)
at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:667)
at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:659)
at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:667)
at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:642)
at com.google.gson.internal.Streams.parse(Streams.java:44)
at cc.kave.commons.utils.io.json.RuntimeTypeAdapterFactory$1.read(RuntimeTypeAdapterFactory.java:239)
at com.google.gson.TypeAdapter.fromJsonTree(TypeAdapter.java:281)
at cc.kave.commons.utils.io.json.RuntimeTypeAdapterFactory$1.read(RuntimeTypeAdapterFactory.java:254)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:103)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:196)
at com.google.gson.TypeAdapter.fromJsonTree(TypeAdapter.java:281)
at cc.kave.commons.utils.io.json.RuntimeTypeAdapterFactory$1.read(RuntimeTypeAdapterFactory.java:254)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:103)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:196)
at com.google.gson.TypeAdapter.fromJsonTree(TypeAdapter.java:281)
at cc.kave.commons.utils.io.json.RuntimeTypeAdapterFactory$1.read(RuntimeTypeAdapterFactory.java:254)
at com.google.gson.TypeAdapter.fromJsonTree(TypeAdapter.java:281)
at cc.kave.commons.utils.io.json.RuntimeTypeAdapterFactory$1.read(RuntimeTypeAdapterFactory.java:254)
at com.google.gson.Gson.fromJson(Gson.java:810)
at com.google.gson.Gson.fromJson(Gson.java:775)
at com.google.gson.Gson.fromJson(Gson.java:724)
at cc.kave.commons.utils.io.json.JsonUtils.fromJson(JsonUtils.java:362)
at cc.kave.commons.utils.io.json.JsonUtils.fromJson(JsonUtils.java:396)
at cc.kave.commons.utils.io.ReadingArchive.getNext(ReadingArchive.java:63)
at cstar.yongfeng.collect.Collector.miningWork(Collector.java:149)
I also noticed that when the userZip's size is much large (Over 50M), the exception is likely to occur, when the userZip's size is much small (Less than 10M), the exception will not be thrown.
After the first round of extracting 20 attribute values from 81 developers in Launcher.java
. I found some unexpected results: Some average attribute values are equal to 0. I was wondering whether there were some bugs in extracting Java code, because all of the debugging operations appear at least for one time in CommandEvent
.
In the prior view, we just use tag [Action]: Activate/ Deactivate of [WindowEvent] to detect the active time on Visual Studio of developers. But it may introduce bias.
Some event streams of developer do not contain the pairwise Activate
and Deactivate
events. [1]
[1]: Actually, the event stream should contain the pairwise Activate
and Deactivate
events.
when running cstar.yongfeng.collect.Laucher
, I found that the output **[userZip]**s are in wrong format, such as, maybe the function UserDivition.getUserByKeyWrods(userZip, keywords)
needs some fixing work.
[userZip]: C:/MSR18Dataset/Events-170301-2/Events-170301-2/2016-05-09\1.zip
[userZip]: C:/MSR18Dataset/Events-170301-2/Events-170301-2/2016-05-09\10.zip
...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.