Skip to content

Commit 9c17e6a

Browse files
committed
Updating Project
1 parent 1a361b9 commit 9c17e6a

9 files changed

+51
-1618
lines changed
Loading
Loading
Loading
Loading
Loading
Loading

AI Vs Human Text Classification/Model/README.md

+46-1
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,58 @@ The models developed are:
3333
- gensim
3434
- keras
3535

36+
37+
**Exploratory Data Analysis (EDA)**
38+
39+
### Distribution of Human & AI Generated Text
40+
![Distribution of Human & AI Generated Text](../Images/Distribution_of_Human_AI-Generated_text.png)
41+
42+
### Distribution of Text Lengths
43+
![Distribution of Text Lengths](../Images/Text_Length.png)
44+
45+
### Distribution of Word Counts
46+
![Distribution of Word Counts](../Images/Word_Count.png)
47+
48+
### Word Cloud for Human-Written text
49+
![Word Cloud for Human-Written text](../Images/word_cloud_human.png)
50+
51+
### Word Cloud for AI-Generated text
52+
![Word Cloud for AI-Generated text](../Images/word_cloud_ai.png)
53+
54+
### Overall Data Description
55+
![Overall Data Description](../Images/Data_Description.png)
56+
57+
### Conclusions from EDA
58+
59+
#### Text Length
60+
- **Mean:** Average text length is approximately 2270 characters.
61+
- **Range:** Text lengths vary widely, from 1 to 18,322 characters.
62+
63+
#### Word Count
64+
- **Mean:** Average word count is 393 words.
65+
- **Range:** Word counts range from 0 to 1668 words.
66+
67+
#### Average Word Length
68+
- **Mean:** Average word length is about 4.76 characters.
69+
- **Range:** Ranges from 1 to 126 characters, though extreme values likely indicate anomalies.
70+
71+
#### Punctuation Count
72+
- **Mean:** Average punctuation count per text is 48.
73+
- **Range:** Punctuation counts range from 0 to 388.
74+
75+
#### Lexical Diversity
76+
- **Mean:** Average lexical diversity is 0.51.
77+
- **Range:** Ranges from 0 (no unique words) to 1 (all words are unique).
78+
79+
80+
3681
**Model Performances**
3782

3883
### Model 1 (ANN Model) Performance Graphs
3984
![Model 1 (ANN Model) performance graphs](../Images/ANN_Performance.png)
4085

4186
### Model 2 (LSTM MODEL) Performance Graphs
42-
![Model 2 (Basic CNN Model) performance graphs](../Images/LSTM_Performance.png)
87+
![Model 2 (LSTM Model) performance graphs](../Images/LSTM_Performance.png)
4388

4489

4590
**CONCLUSION**

0 commit comments

Comments
 (0)