Coder Social home page Coder Social logo

frightenedfox / r-lab-project Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 44.24 MB

This is the repository for the small lab project using R language

License: GNU General Public License v3.0

R 2.73% TeX 1.58% Jupyter Notebook 95.69%
data-analysis rlanguage visualization r

r-lab-project's Introduction

Phishing: how not to get 'caught'?

Phishing: how not to get "caught"?

By Vitalii Morskyi & Julia Makarska

The phenomenon of phishing has been around for many years. However, the last year has shown how important internet security is among other things. Over a year ago, the world stopped: everybody and everything was moved to the Internet. That motivated us to analyse the topic of Phishing. Phishers usually use email or SMS messages to deceive users and force to act according to their expectations. The key points we want to emphasize in our research are how easy it is to get tricked and what are the common properties of malicious URLs. The aspects we analyzed cover only a small piece of this cheating method, however we found the results to be interesting, and hope you will as well. At the same time, this file is more about recreating the steps of our analysis, not reporting the final results. However, if you are interested in the latter one, please checkout the demonstration folder or the data-visualization.\* files.

This project is a part of the curriculum in "Programming in R" of the Rzeszow University of Technology, Poland.

Setting up the environment

The main analysis is conducted by using Jupyter Notebook which is usually used with Python, but also supports R.
So, to get things work properly, you would have to install some R and Python packages.

Python modules

First of all, you need Python 3.5 or greater. Next, you are expected to install JupyterLab and r-essentials modules.

Using conda

  • JupyterLab:

    conda install -c conda-forge jupyterlab
  • R-essentials:

    conda install -c r r-essentials 

Using pip

  • If you use pip, you can install JupyterLab with:

    pip install jupyterlab
  • Unfortunately there is no way of installing r-essentials using pip.

For more ways of installing JupyterLab please checkout this page.

Running the JupyterLab environment

Assuming R-essentials are installed, you can use one of the following commands to open JupyterLab environment:

jupyter-lab

or

python -m jupyter-lab

If everything has been installed correctly, then webpage similar to the one shown on the image below should appear in your default browser.

Example of the JupyterLab environment

R packages

To install all required packages, please open R Console in the JupyterLab tab and execute the following piece of code:

install.packages("stringi")
install.packages("stringr")
install.packages("lattice")
install.packages("ggplot2")
install.packages("ggExtra")
install.packages("hrbrthemes")
install.packages("rgl")
install.packages("GGally")

Note: if any problems occur while installing those packages, try creating a separate Conda Environment specifically for this project. To do so, you can use conda create --name EnvironmentName jupyterlab r-essentials command. To activate your environment, use the following command: conda activate EnvironmentName. Now you can continue from the step Running the JupyterLab environment. You can find out more about Conda Environments on their official documentation page.

If there were no problems with installing modules, you are ready to go. You can start from opening the file data-visualization.ipynb by clicking on it's icon on the side bar.

References

Data sets:

Used articles:

Theory behind the scenes:

Documentations and code examples:

Icons and poster:


Poster of the project

r-lab-project's People

Contributors

frightenedfox avatar juliamakarska avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.