I’m new to ML and trying to build algorithms based on the data available in the net.
I have taken data available in the reservoir from the past 5 years and i’m trying to predict the water level for the next year.
While executing the code in python i’m getting the below. Can someone help me to resolve this issue.
Sample Dataset :
Code in Python :
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from sklearn import model_selection
from sklearn.metrics import accuracy_score
from sklearn.linear_model import LogisticRegression
from sklearn.linear_model import LinearRegression
from sklearn.ensemble import RandomForestClassifier
from sklearn.neighbors import KNeighborsClassifier
from sklearn.svm import SVC
model = LinearRegression()
ValueError: could not convert string to float: ‘19-01-2011’