BestVectorTable
Asks for a data.table and some parameters and returns the best combination of collums to predict the missing valueBestVectorTable
Asks for a data.table and some parameters and returns the best combination of collums to predict the missing value
BestVectorTable(df, goal, maxi, repetitions, trigger = 1, ratio = 0.99)
A data.table with the missing values you wish to fill
The collum with the missing values you wish to fill
What will be the length of possible combinations you will test example if 2 they will test up to all possible pairs of collums
Measure of error, the bigger the less likely you will get the right prediction
When you pair all possible combination of tuples a percentage of them will show only once, trigger rejects the set if this percentage is higher than this value
Rejects collumns that the ratio of unique values to total values is higher than this value, primary keys have ratio equal to 1