Skip to content

Commit

Permalink
Agrego encoding y cambio import de sklearn
Browse files Browse the repository at this point in the history
  • Loading branch information
meliascosta committed Jun 13, 2017
1 parent 8ab3f5c commit 718463d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_text_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@
import os
import codecs
import numpy as np
from sklearn.cross_validation import train_test_split
from sklearn.model_selection import train_test_split
from sklearn.datasets import fetch_20newsgroups
sys.path.insert(0, os.path.abspath('..'))

from textar import TextClassifier


Expand Down
2 changes: 2 additions & 0 deletions textar/text_classifier.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

u"""Módulo de clasificación de textos.
Este módulo contiene a los objetos que permiten entrenar un clasificador
Expand Down

0 comments on commit 718463d

Please sign in to comment.