Relative Content

Tag Archive for data-structures

Cataloging events, projects and tasks: Is SQL appropriate?

I have this idea for a database: it would hold everything I “need to remember”, and allow future coding projects to access the information. These future projects include a day-planner and historical analysis of what I’ve been up to.

Decision trees vs. Neural Networks

I’m implementing a machine learning structure to try and predict fraud on financial systems like banks, etc… This means that there is a lot of different data that can be used to train the model eg. card number, card holder name, amount, country, etc…

Appropriate data structure for deeply nested data?

I can’t figure out what would be an appropriate data structure for my problem. I need to write a script that will count some events. Input is a list of events (thousands of them). Each event is an object with following attributes:

hash with file instead of array

Is it possible to use hash function but with File instead of Array, and it’s gonna be saving the record in a file position and then search will fseek to that position, but I’m not sure how to open a file with let’s say 1000 line, do you think that method could work?