rkdarst / dynsnap Goto Github PK
View Code? Open in Web Editor NEWDynamic time-slicing method
Dynamic time-slicing method
Hi there,
Recently read your paper and really great work. I wanted to give the code a try. At the moment, I tried to follow the example in the manual you created but seem to get NoneType errors. Haven't spend time digging into the code, to exactly what is going on, but wanted to try my luck and ask you if you could perhaps create a simple input file and example script to toy around with?
I tried this:
The input file:
0,1,A,B
0,2,A,C
1,1,B,D
1,4,B,C
This gave no errors.
$ python events.py /tmp/data.csv /tmp/input.sqlite -t 0 -w 1
But here is where things went wrong.
python dynsnap.py /tmp/input.sqlite input.out -p -w -1
# file loaded: /tmp/input.sqlite
# Total time range: None None
# Columns: tlow thigh dt sim number_of_events
Traceback (most recent call last):
File "dynsnap.py", line 1260, in <module>
main(argv=sys.argv[1:], return_output=False)
File "dynsnap.py", line 1160, in main
x = finder.find()
File "dynsnap.py", line 480, in find
if self.tstart >= self.tstop:
TypeError: unorderable types: NoneType() >= NoneType()
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.