"Two bug report"

Legacy UserLegacy User Member Posts: 0 Newbie
edited May 2019 in Help
Hi, Michael.

I found one bug when I browse WVTool project.
1. WVTool.java should set pruneMin and pruneMax as caller just passed in, instead of defaults. Obviously it is caused the overlook after copy-paste.

    public void createVectors(WVTInputList input, WVTConfiguration config, int pruneMin, int pruneMax) throws WVToolException {

        // Currently somewhat unefficient: Simply reads all documents twice,
        // will be enhanced in future versions.

        // Generate the word list
        WVTWordList wordList = createWordList(input, config);

        // Prune the word list
        wordList.pruneByFrequency(DEFAULT_PRUNE_MIN, DEFAULT_PRUNE_MAX);

        // Create the word vectors
        createVectors(input, config, wordList);

    }


-Benjamin
Tagged:

Answers

  • IngoRMIngoRM Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University Professor Posts: 1,751 RM Founder
    Hi Benjamin,

    thanks for sending this in. We will fix this.

    Cheers,
    Ingo
Sign In or Register to comment.