Skip to content

Commit

Permalink
sklearn.externals 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
rickiepark committed Jun 3, 2021
1 parent f6cf608 commit f0f4471
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ml_editor/model_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from pathlib import Path

import spacy
from sklearn.externals import joblib
import joblib
from tqdm import tqdm
import pandas as pd
import nltk
Expand Down Expand Up @@ -196,7 +196,7 @@ def get_pos_score_from_text(input_text):
positive_proba = get_question_score_from_input(input_text)
output_str = (
"""
Question score (0 is worst, 1 is best):
Question score (0 is worst, 1 is best):
<br/>
%s
"""
Expand Down
4 changes: 2 additions & 2 deletions ml_editor/model_v3.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from pathlib import Path

import spacy
from sklearn.externals import joblib
import joblib
from tqdm import tqdm
import pandas as pd
import nltk
Expand Down Expand Up @@ -94,7 +94,7 @@ def get_recommendation_and_prediction_from_text(input_text, num_feats=10):
%s
<br/>
<br/>
Recommendations (ordered by importance):
<br/>
<br/>
Expand Down
2 changes: 1 addition & 1 deletion tests/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pytest

# Needed for pytest to resolve imports properly
from sklearn.externals import joblib
import joblib

from ml_editor.data_ingestion import parse_xml_to_csv
from ml_editor.data_processing import (
Expand Down

0 comments on commit f0f4471

Please sign in to comment.