Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Abnormal score(1.0) using random forest and SVM

$
0
0

@hawk9 wrote:

I am new to analytics and i have been doing the loan prediction III. I am using the below features and modeled using random forest and SVM. But the score which i am getting is 1.0. So please help me out what and where am i missing?

Gender, Married, Dependents, Education ,Self_Employed ,ApplicantIncome ,CoapplicantIncome ,LoanAmount, Loan_Amount_Term ,Credit_History ,Property_Area, TotalIncome ,EMI ,ratio

random_forest = RandomForestClassifier(n_estimators=100)
random_forest.fit(x_train, y_train)
y_pred = random_forest.predict(x_test)
random_forest.score(x_train, y_train)

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles