Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regarding NSL-KDD csv file #7

Closed
deepakkuk opened this issue Dec 25, 2018 · 3 comments
Closed

Regarding NSL-KDD csv file #7

deepakkuk opened this issue Dec 25, 2018 · 3 comments

Comments

@deepakkuk
Copy link

in NSL-KDD dataset kddtrain.csv and kddtest.csv file not given in public dataset how you convert these file and which one you used for this?
traindata = pd.read_csv('kdd/kddtrain.csv', header=None)
testdata = pd.read_csv('kdd/kddtest.csv', header=None)

@vinayakumarr
Copy link
Owner

you can use preprocessing step to convert the data set into numerical format

@liudong315
Copy link

您可以使用预处理步骤将数据集转换为数字格式

how to use preprocessing step to convert the data set into numerical format? Do you hava the detailed step?

@soayeb95
Copy link

Use OneHotEncoder() or get_dummies()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants