Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6c1ca0f

Browse files
Update README.md
1 parent 53df318 commit 6c1ca0f

File tree

1 file changed

+3
-46
lines changed

1 file changed

+3
-46
lines changed

‎README.md

Lines changed: 3 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -240,19 +240,7 @@ preprocess.head()
240240

241241

242242
<div>
243-
<style scoped>
244-
.dataframe tbody tr th:only-of-type {
245-
vertical-align: middle;
246-
}
247-
248-
.dataframe tbody tr th {
249-
vertical-align: top;
250-
}
251-
252-
.dataframe thead th {
253-
text-align: right;
254-
}
255-
</style>
243+
256244
<table border="1" class="dataframe">
257245
<thead>
258246
<tr style="text-align: right;">
@@ -366,19 +354,7 @@ compound.head()
366354

367355

368356
<div>
369-
<style scoped>
370-
.dataframe tbody tr th:only-of-type {
371-
vertical-align: middle;
372-
}
373-
374-
.dataframe tbody tr th {
375-
vertical-align: top;
376-
}
377-
378-
.dataframe thead th {
379-
text-align: right;
380-
}
381-
</style>
357+
382358
<table border="1" class="dataframe">
383359
<thead>
384360
<tr style="text-align: right;">
@@ -675,13 +651,6 @@ files.download('nb_submission.csv') ### remove this line of code if not using co
675651
```
676652

677653

678-
679-
680-
'\ncv = TfidfVectorizer(ngram_range=(1,2)) \nX = tv.fit_transform(train[\'text\'])\n\ny_kaggle = clf.predict(tv.transform(test[\'text\']))\ntest[\'target\'] = pd.DataFrame(y_kaggle.tolist())\ntest[[\'target\', \'ids\']].to_csv("nb_submission.csv", index=False)\n'
681-
682-
683-
684-
685654
```python
686655
from sklearn.metrics import classification_report
687656
clf = GridSearchCV(text_clf, tuned_parameters, cv=10)
@@ -1009,19 +978,7 @@ preprocess.head()
1009978

1010979

1011980
<div>
1012-
<style scoped>
1013-
.dataframe tbody tr th:only-of-type {
1014-
vertical-align: middle;
1015-
}
1016-
1017-
.dataframe tbody tr th {
1018-
vertical-align: top;
1019-
}
1020-
1021-
.dataframe thead th {
1022-
text-align: right;
1023-
}
1024-
</style>
981+
1025982
<table border="1" class="dataframe">
1026983
<thead>
1027984
<tr style="text-align: right;">

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /