activelearning | Active Learning for text classification | Machine Learning library

 by   afshinrahimi Python Version: Current License: No License

kandi X-RAY | activelearning Summary

kandi X-RAY | activelearning Summary

activelearning is a Python library typically used in Institutions, Learning, Education, Artificial Intelligence, Machine Learning, Deep Learning, Pytorch applications. activelearning has no bugs, it has no vulnerabilities and it has low support. However activelearning build file is not available. You can download it from GitHub.

created on jul 4, 2014 based on this program implements active learning (for text classification tasks with scikit-learn's linearsvc classifier. despite differences this can also be called incremental training. instead of using stochastic gradient descent we used the batch mode because the data is not that big and accuracy here was more of concern than efficiency. the algorithm trains the model based on a train dataset and evaluates using a test dataset. after each evaluation algorithm selects 2*num_questions samples from unlabeled dataset in order to be labeled by a user/expert. the labeled sample is then moved to the corresponding directory in the train dataset and the model will start training again with the new improved training set.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              activelearning has a low active ecosystem.
              It has 21 star(s) with 11 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              activelearning has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of activelearning is current.

            kandi-Quality Quality

              activelearning has no bugs reported.

            kandi-Security Security

              activelearning has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              activelearning does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              activelearning releases are not available. You will need to build from source code and install.
              activelearning has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of activelearning
            Get all kandi verified functions for this library.

            activelearning Key Features

            No Key Features are available at this moment for activelearning.

            activelearning Examples and Code Snippets

            No Code Snippets are available at this moment for activelearning.

            Community Discussions

            QUESTION

            How to understand active learning QnaMaker, botframework v4
            Asked 2019-Mar-14 at 16:45

            I had read documents, and tried to run Active learning sample. I can understand how the program works.

            The documents refer to Implicit feedback and Explicit feedback. I have two questions.

            1. I can find the Explicit feedback' code. But I don't understand when the knowledgebase will show the feedback.

            2. Implicit feedback where is the code? no code? I think both Implicit feedback and Explicit feedback have similar scores. what's the difference?

            ...

            ANSWER

            Answered 2019-Mar-14 at 16:45

            So, as the docs on active learning state, implicit feedback occurs when

            when a user question has multiple answers with scores that are very close,

            whereas with explicit feedback is the feedback that is received when the

            client application asks the user which question is the correct question [and the user's selected question is used as explicit feedback

            Where is the feedback collected

            The feedback is collected from the conversation between user and bot. As of now, feedback is not collected in the Test panel in the qnamaker.ai portal.

            Where do we see the suggested questions generated via Active Learning?

            When "enough" feedback is collected on a cluster of question and answer pair, you will see the active learning feedback inside the portal at qnamaker.ai > Edit

            Further Active Learning Explanation

            I'll include here one of my posts from a thread regarding Active Learning below. I would encourage you to read the full thread on active learning that was opened as a Microsoft Docs issue afterwards, however, to see included screenshots.

            @Souvik04, follow the link to the Active Learning sample bot in the BotFramework-Samples repo for a example of how you can query the QnA service from your bot with active learning enabled. ___ After conversing with the QnA team (Rohit is included in the conversation), here's a little more light regarding when you would actually see the suggestions inside the portal at qnamaker.ai.

            When there is a low confidence score difference between the top answers, we collect weighted implicit and explicit feedback to cluster suggestions for any QnA ID. => When enough feedback is collected for any given suggestion, it will show in the KB.

            More specifically, we cluster similar user queries to generate suggestions. When minimum required feedback is collected, only then will the suggestions show in the KB.

            The QnA team wants to avoid publicly divulging the exact logic of what exactly is the "minimum required feedback" and how often suggestions are generated (besides, the team is working on improving and optimizing the logic behind active learning as well) --however to see suggestions appear in the qnamaker.ai portal: * not only ensure that you've given the bot enough feedback * but also give the back end "some time" to allow for the suggestions to appear in the portal.

            Again, feedback is collected when your user types in a query that returns answers from QnA that have confidence scores that are close together.

            It is also good to note that feedback is not collected in the Test panel in the qnamaker.ai portal as of now. You will need to chat with your bot via emulator or a channel to provide feedback to your bot that it can use for active learning.

            Source https://stackoverflow.com/questions/55156473

            QUESTION

            How to use metadata and train Knowledge Base automatically C# QnA maker Bot
            Asked 2018-Aug-22 at 03:15

            My FAQ bot is using this QnAMakerDialog which is not using Microsoft.Bot.Builder.CognitiveServices.QnAMaker, but easy to use metadatas.

            However I also want to train[CustomFeedBack, ActiveLearning] like these samples which is using Microsoft.Bot.Builder.CognitiveServices.QnAMaker.

            Microsoft.Bot.Builder.CognitiveServices.QnAMaker provides method like QnAFeedbackStepAsync.

            Q1: Does QnAMakerDialog which is not using Microsoft.Bot.Builder.CognitiveServices.QnAMaker have some similar methods like QnAFeedbackStepAsync ?

            Q2: How to use metadata while using Microsoft.Bot.Builder.CognitiveServices.QnAMaker ?

            Q3: QnA Maker REST API V4.0 don't support to use train knowledgebases. Although my bot is using V3.0, is it better not to use train knowledgebases?

            ...

            ANSWER

            Answered 2018-Aug-21 at 11:20

            When user ask any question save this question somewhere else if this question is appropriate then add this question as alternative question . Now in your chatbot's database 2 questions are mapped to one answer. Now you're chatbot is more trained as compared to previous one.. by this you can manage log of chatbot

            Source https://stackoverflow.com/questions/51942327

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install activelearning

            You can download it from GitHub.
            You can use activelearning like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/afshinrahimi/activelearning.git

          • CLI

            gh repo clone afshinrahimi/activelearning

          • sshUrl

            git@github.com:afshinrahimi/activelearning.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link