New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read ARFF files calculating no measures #26

Closed
alessanderbotti opened this Issue Nov 23, 2015 · 3 comments

Comments

Projects
None yet
2 participants
@alessanderbotti

alessanderbotti commented Nov 23, 2015

Sometimes I have to read ARFF files and pre-process them, and in those cases, the measures calculated by mldr are not useful, and also take a lot of time to calculate. I tried the function read.arff from RWeka, but it does not seem to discriminate between features and labels, as mldr does. Therefore, it would be nice if mldr allowed me to just read a dataset, without calculating the measures, just providing me a data.frame and the indexes of features and labels. So, after pre-processing the data.frame, I would build an mldr object by means of mldr_from_dataframe. Thanks for mldr!

@fdavidcl

This comment has been minimized.

Show comment
Hide comment
@fdavidcl

fdavidcl Nov 24, 2015

Collaborator

That sounds like a great idea. I'll leave this issue open to track the development of this feature (which will be as soon as possible, of course). Thanks for the suggestion @alessanderbotti!

Collaborator

fdavidcl commented Nov 24, 2015

That sounds like a great idea. I'll leave this issue open to track the development of this feature (which will be as soon as possible, of course). Thanks for the suggestion @alessanderbotti!

@fdavidcl

This comment has been minimized.

Show comment
Hide comment
@fdavidcl

fdavidcl Dec 4, 2015

Collaborator

This functionality has been added in bb53bb1. Now a read.arff function is available within the mldr namespace, which allows to read multilabel data and get label indices without calculating measures. This function does not return an "mldr" object (since mldr methods cannot be applied when measures aren't available), but instead returns a list with the convenient data.

Thanks for helping us improve mldr!

Collaborator

fdavidcl commented Dec 4, 2015

This functionality has been added in bb53bb1. Now a read.arff function is available within the mldr namespace, which allows to read multilabel data and get label indices without calculating measures. This function does not return an "mldr" object (since mldr methods cannot be applied when measures aren't available), but instead returns a list with the convenient data.

Thanks for helping us improve mldr!

@fdavidcl fdavidcl closed this Dec 4, 2015

@alessanderbotti

This comment has been minimized.

Show comment
Hide comment
@alessanderbotti

alessanderbotti Dec 8, 2015

Thank you very much for implementing this function!
I just updated mldr and tested read.arff and it works fine :-)

alessanderbotti commented Dec 8, 2015

Thank you very much for implementing this function!
I just updated mldr and tested read.arff and it works fine :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment