Giter VIP home page Giter VIP logo

lsc's Introduction

LSC

Source code for Lifelong Learning Sentiment Classification

We are researchers and students in Data Science and Knowledge Discovery Laboratory (DS&KT Lab) in University of Engineering and Technology - Vietnam National University.

We implement this code based on the method proposed in the paper Lifelong Learning for Sentiment Classification by Zhiyuan Chen and Bing Liu.

Requirement

To run this code, you need:

  • Python 2.7

Run

In the root directory, run python -m acl2015.example.Example01

lsc's People

Contributors

hellpoethero avatar

Stargazers

Lixin YE avatar  avatar Derek Grant avatar Joseph Cheng avatar

Watchers

James Cloos avatar  avatar  avatar

lsc's Issues

[Error] No such file or directory: 'sample_data/180709_2_100_split'

read data
Traceback (most recent call last):
File "/Users/apple/anaconda3/envs/py27/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/Users/apple/anaconda3/envs/py27/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/apple/Downloads/LSC-master/acl2015/example/Example01.py", line 8, in
km = KnowledgeMiner.KnowledgeMiner(dataPath)
File "acl2015/components/KnowledgeMiner.py", line 8, in init
self.pis.read_from_folder(folder_name)
File "acl2015/components/PastInformationStore.py", line 11, in read_from_folder
for subFolderName in os.listdir(folder_name):
OSError: [Errno 2] No such file or directory: 'sample_data/180709_2_100_split'

How do you think about the objective function?

hi, thanks for your effort on LSC. I just still have a question, why here is to find the minimal of the objective function? I think it should be the maximal. F(+,d)=P(+,d)-P(-,d). I think we need to maximal it, I feel confused about it, could you please help me with this question? Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.