I'm staring to look over the MLJ interface. A fundamental issue is the current form of input data, which I understand should be in the form (X_train, :column_based) or (X_train, :row_based) where X is what exactly?
Passing the row/column flag in this way is quite non-standard for MLJ models. In any case, it means the currently declared input_scitype does not match the data requirements.
You can pass metadata like this flag as a third argument, as in machine(model, X, y, flag) but before going that route, can you say more about what data you can accept for X and why you need this distinction? Can we instead deal with row-versus-column issue by having the user provide a lazy transpose, if her data does not conform to your preferred format?
I'm staring to look over the MLJ interface. A fundamental issue is the current form of input data, which I understand should be in the form
(X_train, :column_based)or(X_train, :row_based)whereXis what exactly?Passing the row/column flag in this way is quite non-standard for MLJ models. In any case, it means the currently declared
input_scitypedoes not match the data requirements.You can pass metadata like this flag as a third argument, as in
machine(model, X, y, flag)but before going that route, can you say more about what data you can accept forXand why you need this distinction? Can we instead deal with row-versus-column issue by having the user provide a lazytranspose, if her data does not conform to your preferred format?