Skip to content

Commit

Permalink
images_added_2
Browse files Browse the repository at this point in the history
  • Loading branch information
vanshilshah97 committed Jan 6, 2021
1 parent ff686a4 commit 7bf1276
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 6 deletions.
Binary file added images/feature_importance_rf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/ffeature_coeff_logreg_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/final_plot_analysis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 43 additions & 6 deletions zf_task_code_submit.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"#### For a visual analysis, I have plotted the trends of pressure, volt , rotation and vibration w.r.t time and when failures happen. The plots are not following any genreal trend which we would be able to implement. For example: Like finding a certain threshld above which failure happens. Even after zoomin in."
"#### For a visual analysis, I have plotted the trends of pressure, volt , rotation and vibration w.r.t time and when failures happen. The plots are not following any genreal trend which we would be able to implement. For example: Like finding a certain threshld above which failure happens."
]
},
{
Expand Down Expand Up @@ -2871,7 +2871,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"![cf_logreg](https://raw.githubusercontent.com/vanshilshah97/pred_maint_zf/main/images/cf_logreg.png)"
"![cf_logreg](https://raw.githubusercontent.com/vanshilshah97/pred_maint_zf/main/images/cf_logreg_2.png)"
]
},
{
Expand Down Expand Up @@ -2986,14 +2986,14 @@
"metadata": {},
"outputs": [],
"source": [
"plot_confusion_matrix(svc, x_test_subset, y_test_subset,normalize='true',cmap=plt.cm.Blues,display_labels=class_names) "
"plot_confusion_matrix(svc, x_test_subset, y_test_subset,cmap=plt.cm.Blues,display_labels=class_names) "
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"![cf_svm](https://raw.githubusercontent.com/vanshilshah97/pred_maint_zf/main/images/cf_svm.png)"
"![cf_svm](https://raw.githubusercontent.com/vanshilshah97/pred_maint_zf/main/images/cf_svm_2.png)"
]
},
{
Expand Down Expand Up @@ -3061,14 +3061,14 @@
"metadata": {},
"outputs": [],
"source": [
"plot_confusion_matrix(xgb, x_test_subset, y_test_subset,normalize='true',cmap=plt.cm.Blues,display_labels=class_names) "
"plot_confusion_matrix(xgb, x_test_subset, y_test_subset,cmap=plt.cm.Blues,display_labels=class_names) "
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"![cf_bossting](https://raw.githubusercontent.com/vanshilshah97/pred_maint_zf/main/images/cf_boosting.png)"
"![cf_bossting](https://raw.githubusercontent.com/vanshilshah97/pred_maint_zf/main/images/cf_boosting_2.png)"
]
},
{
Expand Down Expand Up @@ -3122,6 +3122,43 @@
"#### 0.5334906278673482"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"plot_confusion_matrix(random_forest, x_test_subset, y_test_subset,cmap=plt.cm.Blues,display_labels=class_names) "
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"![cf_bossting](https://raw.githubusercontent.com/vanshilshah97/pred_maint_zf/main/images/cf_random_forest_2.png)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down

0 comments on commit 7bf1276

Please sign in to comment.