Skip to content

Commit c5180c2

Browse files
committed
Merge branch 'dev-nacho' of https://github.com/datosgobar/textar into dev-nacho
2 parents 346f1a5 + 718463d commit c5180c2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/test_text_classifier.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@
1111
import os
1212
import codecs
1313
import numpy as np
14-
from sklearn.cross_validation import train_test_split
14+
from sklearn.model_selection import train_test_split
1515
from sklearn.datasets import fetch_20newsgroups
1616
sys.path.insert(0, os.path.abspath('..'))
17-
1817
from textar import TextClassifier
1918

2019

textar/text_classifier.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# -*- coding: utf-8 -*-
2+
13
u"""Módulo de clasificación de textos.
24
35
Este módulo contiene a los objetos que permiten entrenar un clasificador

0 commit comments

Comments
 (0)