Extract The Useful Data from JSON File For Machine Learning
You need the following things before you start parsing and extraction:
- JASON File. (Download the file)
- Jupyter NoteBook.
- Some essential Modules named as Numpy, Matplotlib and many more.
- Jason Parser(to understand data of Jason file for extraction of useful Data).
5. GitHub Account(store your current project).
6. Code Begins —
- Functions that the OS module provides allows you to interface with the underlying operating system that Python is running on — be that Windows, Mac or Linux.
NumPy package is used to perform different operations while Matplotlib is a plotting library for the Python programming language and its numerical mathematics extension NumPy.
- Import the following packages:
In the code ……..
fill ="yellow" # Use for Colour
In the code……..
draw.polygon((points), fill = “green”) #Use for draw the Polygon .
In the code………
image.show() #Use for show the image .
In the code……..
image.save(kk) #Use for saving the image .
………………………………………………………………………………….
Analyze the Code and Perform #Code# line by line .
Also Go to my github Profile for more better intuition of code .
Thank you for reading …………………………………………………….
Please Clap and Follow for More ,Easy and Interesting Articles.