zoukankan      html  css  js  c++  java
  • twitter僵尸网路检测,只能twitter自己做这种算法

    twitter僵尸网路检测数据样例

    Twitter bot detector In the previous sections, we saw how to build a machine learning-based botnet detector. In this new project, we are going to deal with a different problem instead of defending against botnet malware. We are going to detect Twitter bots because they are also dangerous and can perform malicious actions. For the model, we are going to use the NYU Tandon Spring 2017 Machine Learning Competition: Twitter Bot classification dataset. You can download it from this link: https://www.kaggle.com/c/twitter-bot-classification/data. Import the required Python packages:

    >>> import pandas as pd
    >>> import numpy as np
    >>> import seaborn

    Let's load the data using pandas and highlight the bot and non-bot data:

    >>> data = pd.read_csv('training_data_2_csv_UTF.csv')
    >>> Bots = data[data.bot==1]
    >> NonBots = data[data.bot==0]


  • 相关阅读:
    alpha冲刺9
    alpha冲刺8
    alpha冲刺7
    alpha冲6
    随堂小测-同学录
    alpha冲刺5
    任务3
    任务2
    任务1
    网站用户行为分析
  • 原文地址:https://www.cnblogs.com/bonelee/p/14930010.html
Copyright © 2011-2022 走看看