Graduation Essay 2024
Improving speed and memory in the field of data mining such as mining highly useful itemsets using genetic algorithms helps improve the above problems that classical algorithms easily encounter.
- Do Anh Duy - @xaviedoanhduy
- Pham Duc Thanh - [email protected]
Python, bitarray, multiprocessing
*The input file format of high utility itemsets is defined as follows. It is a text file. Each lines represents a transaction. Each line is composed of three sections, as follows:
- First, the items contained in the transaction are listed. An item is represented by a positive integer. Each item is separated from the next item by a single space. It is assumed that all items within a same transaction (line) are sorted according to a total order (e.g. ascending order) and that no item can appear twice within the same transaction.
- Second, the symbol ":" appears and is followed by the transaction utility (an integer).
- Third, the symbol ":" appears and is followed by the utility of each item in this transaction (an integer), separated by single spaces.
for example, the input file is defined as follows:
1 2 3 4 5:18:4 2 3 5 4
1 3 4:11:4 2 5
3 4 5:11:2 5 4
1 2 4 5:22:5 4 5 8
1 2 3 4:17:3 8 1 5
4 5:9:5 4
*Each line of the database is:
- A set of items (the first column of the table)
- The sum of the utilities (e.g. profit) of these items in this transaction (the second column of the table)
- The utility of each item for this transaction (e.g. profit generated by this item for this transaction)(the third column of the table)
The output file format of high utility itemsets is defined as follows. It is a text file, each following line represents a high utility itemset. On each line, the items of the itemset are first listed. Each item is represented by an integer, followed by a single space. After, all the items, the keyword " #UTILITY: " appears and is followed by the utility of the itemset. For example, we show below the output file for this example
4 5 #UTIL: 40
1 2 4 #UTIL: 41
For example, the first line indicates that the itemset {4, 5} is a high utility itemset which has utility equals to 41. The following lines follows the same format.
Example of solving quadratic equations