Learn practical skills, build real-world projects, and advance your career
Created 5 years ago
Insights into Forest Fires
Loading libraries
import jovian
jovian.commit(artifacts=['forest_fires.csv'])
[jovian] Saving notebook..
import matplotlib.pyplot as plt
import math
import numpy as np
import pandas as pd
import random
# importing sklearn libraries
from sklearn import neural_network, linear_model, preprocessing, svm, tree
from sklearn.ensemble import RandomForestRegressor, RandomForestClassifier
from sklearn.metrics import accuracy_score, mean_squared_error, r2_score
from sklearn.model_selection import train_test_split
from sklearn.model_selection import cross_val_score
from sklearn.model_selection import KFold
from sklearn.naive_bayes import GaussianNB
# importing keras libraries
from keras.models import Sequential
from keras.layers import Dense
from keras.wrappers.scikit_learn import KerasRegressor
import warnings
# supressing the warning on the usage of Linear Regression model
warnings.filterwarnings(action="ignore", module="scipy", message="^internal gelsd")
Using TensorFlow backend.