Skip to content

omegaphoenix/text_multilabel_classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multiclass Classification

Example for using sklearn for multilabel classification.

Pipenv Setup

# Pipenv is a python package manager (e.g. pipenv is to Python as npm is to Javascript/Node)
brew install pipenv
# or pip2 install pipenv
# or pip3 install pipenv

# Set this to your standard shell
# For fish, see https://docs.pipenv.org/advanced/#shell-completion
SHELL_RC=~/.bashrc  # or .zshrc

# Enable command line completion
echo 'eval "$(pipenv --completion)"' >> $SHELL_RC

# By default, virtual environments appear under
# ~/.local/share/virtualenvs/python-*
# Use the following to use <PROJECT_ROOT>/.venv instead
echo "export PIPENV_VENV_IN_PROJECT=true" >> $SHELL_RC

Installation and Running

# Create a virtual environment and install dependent packages in Pipfile
pipenv install

# Open shell in configured virtual environment
pipenv shell

# Once inside the shell, run:
python main.py

About

Using sklearn for multilabel classifiction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages