Skip to content

Commit 724ed53

Browse files
authored
Update README.md
1 parent 6dbd930 commit 724ed53

1 file changed

Lines changed: 16 additions & 14 deletions

File tree

docs/README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ Text Classification Algorithms: A Survey
66
> [![arXiv](https://img.shields.io/badge/arXiv-1904.08067-red.svg?style=flat)](https://arxiv.org/abs/1904.08067)
77
> ![ansicolortags](https://img.shields.io/pypi/l/ansicolortags.svg%0A%20%20%20:target:%20https://github.com/kk7nc/Text_Classification/blob/master/LICENSE)
88
> ![contributors](https://img.shields.io/github/contributors/kk7nc/Text_Classification.svg%0A%20%20%20:target:%20https://github.com/kk7nc/Text_Classification/graphs/contributors)
9-
> ![twitter](https://img.shields.io/twitter/url/http/shields.io.svg?style=social%0A%20:target:%20https://twitter.com/intent/tweet?text=Text%20Classification%20Algorithms:%20A%20Survey%0aGitHub:&url=https://github.com/kk7nc/Text_Classification&hashtags=Text_Classification,classification,MachineLearning,Categorization,NLP,NATURAL,LANGUAGE,PROCESSING)
9+
> [![twitter](https://img.shields.io/twitter/url/http/shields.io.svg)](https://twitter.com/intent/tweet?text=Text%20Classification%20Algorithms:%20A%20Survey%0aGitHub:&url=https://github.com/kk7nc/Text_Classification&hashtags=Text_Classification,classification,MachineLearning,Categorization,NLP,NATURAL,LANGUAGE,PROCESSING)
1010
11-
![Referenced paper : [Text Classification Algorithms: A
12-
Survey](https://arxiv.org/abs/1904.08067)](docs/pic/WordArt.png)
11+
Referenced paper : [Text Classification Algorithms: A
12+
Survey](https://arxiv.org/abs/1904.08067)]
13+
14+
![pic](../docs/pic/WordArt.png)
1315

1416
Table of Contents
1517
=================
@@ -22,7 +24,7 @@ Table of Contents
2224
Introduction
2325
------------
2426

25-
![](docs/pic/Overview.png)
27+
![](../docs/pic/Overview.png)
2628

2729
Text and Document Feature Extraction
2830
------------------------------------
@@ -324,7 +326,7 @@ More information about the scripts is provided at
324326

325327
#### Global Vectors for Word Representation (GloVe)
326328

327-
![image](/docs/pic/Glove.PNG)
329+
![image](../docs/pic/Glove.PNG)
328330

329331
An implementation of the GloVe model for learning word representations
330332
is provided, and describe how to download web-dataset vectors or train
@@ -408,12 +410,12 @@ and \#2 use `weight_layers` to compute the final ELMo representations.
408410
For \#3, use `BidirectionalLanguageModel` to write all the intermediate
409411
layers to a file.
410412

411-
![](docs/pic/ngram_cnn_highway_1.png)
413+
![](../docs/pic/ngram_cnn_highway_1.png)
412414

413415
Architecture of the language model applied to an example sentence
414416
[Reference: [arXiv paper](https://arxiv.org/pdf/1508.06615.pdf)].
415417

416-
![](docs/pic/Glove_VS_DCWE.png)
418+
![](../docs/pic/Glove_VS_DCWE.png)
417419

418420
#### FastText
419421

@@ -465,7 +467,7 @@ in each document and assign it to feature space.
465467
The mathematical representation of weight of a term in a document by
466468
Tf-idf is given:
467469

468-
![image](docs/eq/tf-idf.gif)
470+
![image](../docs/eq/tf-idf.gif)
469471

470472
Where N is number of documents and df(t) is the number of documents
471473
containing the term t in the corpus. The first part would improve recall
@@ -671,7 +673,7 @@ researchers addressed Random Projection for text data for text mining,
671673
text classification and/or dimensionality reduction. we start to review
672674
some random projection techniques.
673675

674-
![image](docs/pic/Random%20Projection.png)
676+
![image](../docs/pic/Random%20Projection.png)
675677

676678
``` {.sourceCode .python}
677679
from sklearn.feature_extraction.text import TfidfVectorizer
@@ -730,7 +732,7 @@ of feature space. Specially for texts, documents, and sequences that
730732
contains many features, autoencoder could help to process of data faster
731733
and more efficient.
732734

733-
![image](docs/pic/Autoencoder.png)
735+
![image](../docs/pic/Autoencoder.png)
734736

735737
``` {.sourceCode .python}
736738
from keras.layers import Input, Dense
@@ -794,7 +796,7 @@ X_embedded.shape
794796

795797
Example of Glove and T-SNE for text:
796798

797-
![image](docs/pic/TSNE.png)
799+
![image](../docs/pic/TSNE.png)
798800

799801
Text Classification Techniques
800802
------------------------------
@@ -868,7 +870,7 @@ precision recall f1-score support
868870

869871
#### Boosting
870872

871-
![image](docs/pic/Boosting.PNG)
873+
![image](../docs/pic/Boosting.PNG)
872874

873875
**Boosting** is a Ensemble learning meta-algorithm for primarily
874876
reducing Supervised learning, and also variance in supervised learning,
@@ -1122,7 +1124,7 @@ The disadvantages of support vector machines include:
11221124
calculated using an expensive five-fold cross-validation (see Scores
11231125
and probabilities, below).
11241126

1125-
![image](docs/pic/SVM.png)
1127+
![image](../docs/pic/SVM.png)
11261128

11271129
``` {.sourceCode .python}
11281130
from sklearn.svm import LinearSVC
@@ -1241,7 +1243,7 @@ time which used t tree as parallel. This technique is developed by [L.
12411243
Breiman](https://link.springer.com/article/10.1023/A:1010933404324) in
12421244
1999 that they find converge for RF as margin measure.
12431245

1244-
![image](docs/pic/RF.png)
1246+
![image](../docs/pic/RF.png)
12451247

12461248
``` {.sourceCode .python}
12471249
from sklearn.ensemble import RandomForestClassifier

0 commit comments

Comments
 (0)