This project is for DB finance project that predict the debenture availability. When companies needs money, they want to issue the corporate bond. However, it is very expensive to test the corporated bond, to solve this problem we propose this service This service is belong to DongBu finance.
This system predict the credit rating and use them as the corporate bond availability.
There are 3 process:
- Use unlabeled dataset
clf = RandomForestClassifier(max_depth=3, random_state=0).fit(newXtrain,y_train)
for i in range(len(newxunlabeld)):
if np.max(clf.predict_proba([newxunlabeld[i]]))>0.6:
listxtrain.append(xunlabeled[i].astype(np.float64))
listytrain.extend(clf.predict([newxunlabeld[i]]))
-
Feature selection: Use recursive feature elimination
-
Prediction: Use random forest
from sklearn.ensemble import RandomForestClassifier
# learn Random Forest by using train data which has 5 depth tree
clf1 = RandomForestClassifier(max_depth=5, random_state=743)
clf1.fit(newXtrain,np.array(listytrain))
# get predict value
pred=clf1.predict(realtest)
We create service page using node.js and MongoDB.
This page is for getting information.
This is the explanation by LIME.