You are on page 1of 4

1 (b) ->Click

on open
Step 1: Open R → Refer the screen below

1 (a) ->Right
click on R

Step 2 : We will be getting the following screen:

Step 3 : We will be requiring launching the library rattle from R by scripting the following codes in
the screen- refer below: -

library (rattle) & press Enter.


Step 4 : Then write the second piece of code -

Rattle() & press Enter.

Step 5 : Post writing the two pieces of code in R the below Rattle window opens up-refer below:
Step 6 : Post writing the two pieces of code in R the below Rattle window opens up-refer below:

Step 7: Click on Execute Tab on the top left and you will get the following window.

Step 8: Click on Yes and you can use the default weather data set to start with- Refer below
Step 9: Understanding the objective: To find a pattern between the different weather factors on a
day and the probability to rain on the next day (Rain Tomorrow).So, target is Rain Tomorrow and
other factors are explanatory.

Explanatory Data Analysis (EDA) :

Step 10: View the distribution of the target [Rain Tomorrow (Yes): Rain Tomorrow (No)] – Test
whether the event rate is skewed or not.

Step 11: View how Min Temperature , Max temperature , sunshine, wind air 9 pm , Wind air 3pm
affecting the target (visually in the sample).

You might also like