0% found this document useful (0 votes)
9 views1 page

AI Generated Vs Human Text (95% Accuracy)

The document discusses a Python environment set up for analyzing AI-generated versus human text with a reported accuracy of 95%. It includes code snippets for importing necessary libraries and accessing input data files on Kaggle. The document also mentions the use of cookies by Kaggle for service enhancement and traffic analysis.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

AI Generated Vs Human Text (95% Accuracy)

The document discusses a Python environment set up for analyzing AI-generated versus human text with a reported accuracy of 95%. It includes code snippets for importing necessary libraries and accessing input data files on Kaggle. The document also mentions the use of cookies by Kaggle for service enhancement and traffic analysis.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

10/12/2024, 19:38 AI Generated vs Human Text(95% accuracy)

Runtime
history Version 2 of 2
play_arrow 4s

Input
expand_more View Metadata
In [29]:
# This Python 3 environment comes with many helpful analytics
libraries installed
# It is defined by the kaggle/python Docker image: https://git
hub.com/kaggle/docker-python
# For example, here's several helpful packages to load

import numpy as np # linear algebra


import pandas as pd # data processing, CSV file I/O (e.g. pd.r
ead_csv)

# Input data files are available in the read-only "../input/"


directory
# For example, running this (by clicking run or pressing Shift
+Enter) will list all files under the input directory

import os
for dirname, _, filenames in os.walk('/kaggle/input'):
for filename in filenames:
print(os.path.join(dirname, filename))

# You can write up to 20GB to the current directory (/kaggle/w


orking/) that gets preserved as output when you create a versi
on using "Save & Run All"
# You can also write temporary files to /kaggle/temp/, but the
y won't be saved outside of the current session

/kaggle/input/ai-vs-human-text/AI_Human.csv

Kaggle uses In
cookies from Google to deliver and enhance the quality of its services and
[30]:
to analyze traffic. import pandas as pd Learn more OK, Got it.
import numpy as np
https://www.kaggle.com/code/syedali110/ai-generated-vs-human-text-95-accuracy/comments 1/1

You might also like