Monday, March 1, 2021
  • Setup menu at Appearance » Menus and assign menu to Top Bar Navigation
Advertisement
  • AI Development
    • Artificial Intelligence
    • Machine Learning
    • Neural Networks
    • Learn to Code
  • Data
    • Blockchain
    • Big Data
    • Data Science
  • IT Security
    • Internet Privacy
    • Internet Security
  • Marketing
    • Digital Marketing
    • Marketing Technology
  • Technology Companies
  • Crypto News
No Result
View All Result
NikolaNews
  • AI Development
    • Artificial Intelligence
    • Machine Learning
    • Neural Networks
    • Learn to Code
  • Data
    • Blockchain
    • Big Data
    • Data Science
  • IT Security
    • Internet Privacy
    • Internet Security
  • Marketing
    • Digital Marketing
    • Marketing Technology
  • Technology Companies
  • Crypto News
No Result
View All Result
NikolaNews
No Result
View All Result
Home Neural Networks

Hurricane Prediction – Becoming Human: Artificial Intelligence Magazine

June 3, 2020
in Neural Networks
Hurricane Prediction – Becoming Human: Artificial Intelligence Magazine
585
SHARES
3.3k
VIEWS
Share on FacebookShare on Twitter

In the country, I live we really experience any hurricanes. After finishing high school I found a university in Houston Texas and decided to continue my education there. My first impression of Texas was not what I was expecting. Meaning no cowboys with hats. Unfortunately, there was one more thing I wasn’t expecting at all…..hurricanes. It was late summer of 2017 when hurricane Harvey hit Houston and it hit it hard. I was living in a dorm at that time. Dying from boredom I decided to find something to do. I started working on building a machine learning model that can predict and analyze future hurricanes.

In this project, we will use the Jupiter notebook and for the dataset, it will be atlantic.csv, which can be found on the official government website.

You might also like

How AI Can Be Used in Agriculture Sector for Higher Productivity? | by ANOLYTICS

Future Tech: Artificial Intelligence and the Singularity | by Jason Sherman | Feb, 2021

Tackling ethics in AI algorithms: the case of Salesforce | by Iflexion | Feb, 2021

First, let’s import libraries

import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import random
import seaborn as sns
from fbprophet import Prophet
from datetime import datetime

After, we need to load a dataset.

dataset_df = pd.read_csv(‘atlantic.csv’,error_bad_lines=False)

#This dataset consists not only of the hurricanes but tsunamis and other catastrophes.

Jobs in AI

After closely analyzing the dataset we need to drop unnecessary columns


dataset_df.drop([‘ID’,’Name’, ‘Time’ , ‘Event’ , ‘Latitude’, ‘Maximum Wind’, ‘Minimum Pressure’,’Low Wind SW’, ‘Low Wind NW’, ‘Moderate Wind NE’, ‘Moderate Wind SE’, ‘Moderate Wind SW’, ‘Moderate Wind NW’ , ‘High Wind NE’, ‘High Wind SE’, ‘High Wind SW’, ‘High Wind NW’ ,’Longitude’ , ‘Low Wind NE’ ,’Low Wind SE’], inplace=True ,axis = 1)

We will be using Facebook Prophet to make predictions. Since it is a time-series database we need to adjust it’s format a little bit.

dataset_df[‘Date’]=pd.to_datetime(dataset_df[‘Date’].astype(str), format=’%Y/%m/%d’)
dataset_df[‘Date’] = dataset_df[“Date”].apply(str)
type(dataset_df[“Date”][0])

You should be able to see something like this.

dataset_df[‘Status’].value_counts()

Let’s plot some graphs.

plt.figure(figsize=(15,10))
sns.countplot(y = ‘Status’ , data = dataset_df, order = dataset_df[‘Status’].value_counts().iloc[:15].index)

1. AI for CFD: Intro (part 1)

2. Using Artificial Intelligence to detect COVID-19

3. Real vs Fake Tweet Detection using a BERT Transformer Model in few lines of code

4. Machine Learning System Design

As you notice, tsunamis happen more frequently than hurricanes.

dataset_df.index = pd.DatetimeIndex(dataset_df.Date)

Let’s resample it by month and plot a different graph.

dataset_df.resample(‘M’).size()
plt.plot(dataset_df.resample(‘Y’).size())

Let’s resample it, but now reset the index


dataset_prophet = dataset_df.resample(‘M’).size().reset_index()

Right now the columns show Date and 0. I will change it to something that makes more sense.

dataset_prophet.columns = [‘Date’,’Status’]

Perfect! Now it has much better names.

Now we need to convert it to the format that facebook prophet accepts.

dataset_prophet = pd.DataFrame(dataset_prophet)
dataset_prophet_final = dataset_prophet.rename(columns = {‘Date’: ‘ds’, ‘Status’:’y’})

Next comes training! With 2 lines of code, we can fit our dataset.

m = Prophet()m.fit(dataset_prophet_final)

Let’s forecast the future!

future = m.make_future_dataframe(periods=365)
forecast = m.predict(future)

Detailed representation of the output. Some graphs would make it easier to understand.

pd.plotting.register_matplotlib_converters()
m.plot(forecast, xlabel=’Date’, ylabel=’Events’)

I hope you enjoyed it!

Credit: BecomingHuman By: Amir Boltaev

Previous Post

Trusting Remote Workers Is Key to Success

Next Post

Machine learning predicts potential complications in CT-guided thoracic biopsies

Related Posts

How AI Can Be Used in Agriculture Sector for Higher Productivity? | by ANOLYTICS
Neural Networks

How AI Can Be Used in Agriculture Sector for Higher Productivity? | by ANOLYTICS

February 27, 2021
Future Tech: Artificial Intelligence and the Singularity | by Jason Sherman | Feb, 2021
Neural Networks

Future Tech: Artificial Intelligence and the Singularity | by Jason Sherman | Feb, 2021

February 27, 2021
Tackling ethics in AI algorithms: the case of Salesforce | by Iflexion | Feb, 2021
Neural Networks

Tackling ethics in AI algorithms: the case of Salesforce | by Iflexion | Feb, 2021

February 27, 2021
Creative Destruction and Godlike Technology in the 21st Century | by Madhav Kunal
Neural Networks

Creative Destruction and Godlike Technology in the 21st Century | by Madhav Kunal

February 26, 2021
How 3D Cuboid Annotation Service is better than free Tool? | by ANOLYTICS
Neural Networks

How 3D Cuboid Annotation Service is better than free Tool? | by ANOLYTICS

February 26, 2021
Next Post
Machine learning predicts potential complications in CT-guided thoracic biopsies

Machine learning predicts potential complications in CT-guided thoracic biopsies

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recommended

Plasticity in Deep Learning: Dynamic Adaptations for AI Self-Driving Cars

Plasticity in Deep Learning: Dynamic Adaptations for AI Self-Driving Cars

January 6, 2019
Microsoft, Google Use Artificial Intelligence to Fight Hackers

Microsoft, Google Use Artificial Intelligence to Fight Hackers

January 6, 2019

Categories

  • Artificial Intelligence
  • Big Data
  • Blockchain
  • Crypto News
  • Data Science
  • Digital Marketing
  • Internet Privacy
  • Internet Security
  • Learn to Code
  • Machine Learning
  • Marketing Technology
  • Neural Networks
  • Technology Companies

Don't miss it

The Future of AI in Insurance
Data Science

The Future of AI in Insurance

March 1, 2021
Machine Learning as a Service (MLaaS) Market Analysis Technological Innovation by Leading Industry Experts and Forecast to 2028 – The Daily Chronicle
Machine Learning

Machine Learning as a Service (MLaaS) Market Global Sales, Revenue, Price and Gross Margin Forecast To 2028 – The Bisouv Network

March 1, 2021
AI And Automation In HR: The Changing Scenario Of The Business
Data Science

AI And Automation In HR: The Changing Scenario Of The Business

February 28, 2021
Machine learning could aid mental health diagnoses: Study
Machine Learning

Machine learning could aid mental health diagnoses: Study

February 28, 2021
Python vs R! Which one should you choose for data Science
Data Science

Python vs R! Which one should you choose for data Science

February 28, 2021
Can Java be used for machine learning and data science?
Machine Learning

Can Java be used for machine learning and data science?

February 28, 2021
NikolaNews

NikolaNews.com is an online News Portal which aims to share news about blockchain, AI, Big Data, and Data Privacy and more!

What’s New Here?

  • The Future of AI in Insurance March 1, 2021
  • Machine Learning as a Service (MLaaS) Market Global Sales, Revenue, Price and Gross Margin Forecast To 2028 – The Bisouv Network March 1, 2021
  • AI And Automation In HR: The Changing Scenario Of The Business February 28, 2021
  • Machine learning could aid mental health diagnoses: Study February 28, 2021

Subscribe to get more!

© 2019 NikolaNews.com - Global Tech Updates

No Result
View All Result
  • AI Development
    • Artificial Intelligence
    • Machine Learning
    • Neural Networks
    • Learn to Code
  • Data
    • Blockchain
    • Big Data
    • Data Science
  • IT Security
    • Internet Privacy
    • Internet Security
  • Marketing
    • Digital Marketing
    • Marketing Technology
  • Technology Companies
  • Crypto News

© 2019 NikolaNews.com - Global Tech Updates