Skip to content

FeelSoftwareConvergence/FeelSoftwareDjango

Repository files navigation

필수 library 설치 명령어

general

We worked on the project in an Anaconda virtual environment. Therefore, the command also used the Anaconda command. If you don't use anaconda, you can install it using the pip command.

git clone https://github.com/FeelSoftwareConvergence/FeelSoftwareDjango.git
conda install django
conda install -c conda-forge djangorestframework

conda install pandas
conda install numpy
conda install scikit-learn
conda install -c conda-forge lightgbm

How to use the .cmd file

Running the requirements.cmd file also works the same as the general method.

./requirements.cmd

if this command doesn't work. please change file permission for executing that.

chmod +x ./requirements.cmd

실행 명령어


  python manage.py runserver

url http://127.0.0.1:8000/sentiment/sentiment_analysis/ 이동

Test Process

sentiment_analysis.py 테스트내용 변수 저장


  comment =  "귀여워❤️ 언니 올해는 5월이나 종강할때 꼭 시간내봐요 ㅎㅎ선배 넘 넘 귀엽다!!..."
  content = "#하루필름"
  hashtag = "하루필름"

views.py 노래제목 가수 변수 저장


  title = list(sentiment_result['title'])
  artist = list(sentiment_result['artist'])

sentiment_analysis.html 결과출력

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published