diff --git a/examples/lgbm/1_lgbm.ipynb b/examples/lgbm/1_lgbm.ipynb index ed3a664..83e0c21 100644 --- a/examples/lgbm/1_lgbm.ipynb +++ b/examples/lgbm/1_lgbm.ipynb @@ -4,16 +4,14 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", - "# LGBMClassifier → PMML (using Nyoka) \n", + "# LGBMClassifier → PMML\n", "\n", - "
\n", - "### Exporter: LGBMClassifier \n", - "### Data Set used: Iris, Auto-mpg \n", + "### Exporter: LGBMClassifier \n", "\n", + "### Data Set used: Iris, Auto-mpg\n", "\n", - "### **STEPS**: \n", - "\n", + "\n", + "### **STEPS**: \n", "- Build the Pipeline with model using LGBMClassifier\n", "- Build PMML using Nyoka exporter" ] @@ -22,7 +20,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### LGBMClassifier Model building (using pipeline) for Iris data set" ] }, @@ -78,7 +75,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### Export the Pipeline object into PMML using the Nyoka package" ] }, @@ -102,7 +98,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### LGBMRegressor Model building (using pipeline) for Auto-mpg data set" ] }, @@ -147,7 +142,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### Export the Pipeline object into PMML using the Nyoka package" ] }, @@ -159,13 +153,6 @@ "source": [ "lgb_to_pmml(pipeline_obj,feature_names,target_name,\"lgbmr_pmml.pmml\")" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": { diff --git a/examples/lgbm/2_lgbm_With_Scaling.ipynb b/examples/lgbm/2_lgbm_With_Scaling.ipynb index 12b4c10..e458c1c 100644 --- a/examples/lgbm/2_lgbm_With_Scaling.ipynb +++ b/examples/lgbm/2_lgbm_With_Scaling.ipynb @@ -4,16 +4,13 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", - "LGBM → PMML (using Nyoka) \n", + "# LGBM → PMML\n", "\n", - "
\n", - " Exporter: LGBM Classifier \n", - " Data Set used: Iris \n", + "### Exporter: LGBM Classifier\n", + "### Data Set used: Iris \n", "\n", "\n", - "**STEPS**: \n", - "\n", + "### **STEPS**: \n", "- Build the Pipeline with preprocessing \n", "- Build PMML using Nyoka exporter" ] @@ -22,7 +19,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### Pre-processing, Model building (using pipeline) for Iris data set" ] }, @@ -79,7 +75,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### Export the Pipeline object into PMML using the Nyoka package" ] }, @@ -97,13 +92,6 @@ "from nyoka import lgb_to_pmml\n", "lgb_to_pmml(pipeline_obj,features,target,\"lgbmc_pmml_preprocess.pmml\")" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": { diff --git a/examples/lgbm/3_lgbm_With_PreProcess .ipynb b/examples/lgbm/3_lgbm_With_PreProcess .ipynb index cdcea27..24e3799 100644 --- a/examples/lgbm/3_lgbm_With_PreProcess .ipynb +++ b/examples/lgbm/3_lgbm_With_PreProcess .ipynb @@ -4,16 +4,14 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", - "LGBM → PMML (using Nyoka) \n", + "# LGBM → PMML \n", "\n", - "
\n", - " Exporter: LGBMRegressor \n", - " Data Set used: Auto \n", + "### Exporter: LGBMRegressor\n", "\n", + "### Data Set used: Auto\n", "\n", - "**STEPS**: \n", - "\n", + "\n", + "### **STEPS**: \n", "- Build the Pipeline with preprocessing \n", "- Build PMML using Nyoka exporter" ] @@ -22,7 +20,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### Pre-processing, Model building (using pipeline) for Auto data set" ] }, @@ -84,7 +81,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### Export the Pipeline object into PMML using the Nyoka package" ] }, @@ -102,13 +98,6 @@ "from nyoka import lgb_to_pmml\n", "lgb_to_pmml(pipeline_obj,feature_names,target_name,\"lgbmr_pmml_preprocess.pmml\")" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": { diff --git a/examples/skl/1_SVM.ipynb b/examples/skl/1_SVM.ipynb index 2613ea3..9b84720 100644 --- a/examples/skl/1_SVM.ipynb +++ b/examples/skl/1_SVM.ipynb @@ -4,16 +4,14 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", - "# scikit-learn → PMML (using Nyoka) \n", + "# scikit-learn → PMML\n", "\n", - "
\n", - "### Exporter: Support Vector Classifier \n", - "### Data Set used: Iris \n", + "### Exporter: Support Vector Classifier\n", "\n", + "### Data Set used: Iris \n", "\n", - "### **STEPS**: \n", - "\n", + "\n", + "### **STEPS**: \n", "- Build the Pipeline with model using sklearn SVC\n", "- Build PMML using Nyoka exporter" ] @@ -22,7 +20,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### Model building (using pipeline) for Iris data set" ] }, @@ -76,7 +73,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### Export the Pipeline object into PMML using the Nyoka package" ] }, @@ -125,15 +121,6 @@ "\n", "skl_to_pmml(pipeline_obj,features,target,\"svc_pmml.pmml\")" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "collapsed": true - }, - "outputs": [], - "source": [] } ], "metadata": { @@ -152,7 +139,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.3" + "version": "3.6.5" }, "latex_envs": { "LaTeX_envs_menu_present": true, diff --git a/examples/skl/3_RF_With_pre-processing.ipynb b/examples/skl/3_RF_With_pre-processing.ipynb index f9e3777..0bf4e7d 100644 --- a/examples/skl/3_RF_With_pre-processing.ipynb +++ b/examples/skl/3_RF_With_pre-processing.ipynb @@ -4,16 +4,14 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", - "# scikit-learn → PMML (using Nyoka) \n", + "# scikit-learn → PMML\n", "\n", - "
\n", - "### Exporter: Random Forest \n", - "### Data Set used: Iris \n", "\n", + "### Exporter: Random Forest\n", + "### Data Set used: Iris\n", "\n", - "### **STEPS**: \n", - "\n", + "\n", + "### **STEPS**:\n", "- Build the Pipeline with preprocessing (using DataFrameMapper)\n", "- Build PMML using Nyoka exporter" ] @@ -22,7 +20,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### Pre-processing, Model building (using pipeline) for Iris data set" ] }, @@ -81,7 +78,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### Export the Pipeline object into PMML using the Nyoka package" ] }, diff --git a/examples/skl/4_GB_With_pre-processing.ipynb b/examples/skl/4_GB_With_pre-processing.ipynb index 36015f2..42f9cd2 100644 --- a/examples/skl/4_GB_With_pre-processing.ipynb +++ b/examples/skl/4_GB_With_pre-processing.ipynb @@ -4,16 +4,14 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", - "# scikit-learn → PMML (using Nyoka) \n", + "# scikit-learn → PMML\n", "\n", - "
\n", - "### Exporter: Gradient Boosting \n", - "### Data Set used: Titanic \n", "\n", + "### Exporter: Gradient Boosting\n", + "### Data Set used: Titanic\n", "\n", - "### **STEPS**: \n", - "\n", + "\n", + "### **STEPS**: \n", "- Build the Pipeline with preprocessing (using DataFrameMapper)\n", "- Build PMML using Nyoka exporter" ] @@ -22,7 +20,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### Pre-processing, Model building (using pipeline) for Titanic data set" ] }, @@ -104,7 +101,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### Export the Pipeline object into PMML using the Nyoka package" ] }, diff --git a/examples/skl/5_Decision_Tree_With_Tf-Idf.ipynb b/examples/skl/5_Decision_Tree_With_Tf-Idf.ipynb index 002829f..92de212 100644 --- a/examples/skl/5_Decision_Tree_With_Tf-Idf.ipynb +++ b/examples/skl/5_Decision_Tree_With_Tf-Idf.ipynb @@ -4,16 +4,14 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", - "# scikit-learn → PMML (using Nyoka) \n", + "# scikit-learn → PMML\n", "\n", - "
\n", - "### Exporter: Decision Tree Regressor\n", - "### Data Set used: auto_mpg \n", "\n", + "### Exporter: Decision Tree Regressor\n", + "### Data Set used: auto_mpg\n", "\n", - "### **STEPS**: \n", - "\n", + "\n", + "### **STEPS**:\n", "- Build the Pipeline with model and pre-processing (tf-idf vectorizer) using sklearn Decision Tree Regressor\n", "- Build PMML using Nyoka exporter" ] @@ -22,7 +20,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### Model building (using pipeline) for Iris data set" ] }, @@ -81,7 +78,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### Export the Pipeline object into PMML using the Nyoka package" ] }, diff --git a/examples/statsmodels/exponential_smoothing/exponential_smoothing.pmml b/examples/statsmodels/exponential_smoothing/exponential_smoothing.pmml deleted file mode 100644 index 37d9c6b..0000000 --- a/examples/statsmodels/exponential_smoothing/exponential_smoothing.pmml +++ /dev/null @@ -1,52 +0,0 @@ - - -
- - 2018-08-29 10:06:30.663691 -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.835342901906 0.502963233327 0.624380923318 0.677218727883 - - - - -
diff --git a/examples/xgboost/1_xgboost.ipynb b/examples/xgboost/1_xgboost.ipynb index 878fc01..c82d51a 100644 --- a/examples/xgboost/1_xgboost.ipynb +++ b/examples/xgboost/1_xgboost.ipynb @@ -4,16 +4,14 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", - "# Xgboost → PMML (using Nyoka) \n", + "# Xgboost → PMML\n", "\n", - "
\n", - "### Exporter: XGBoost \n", - "### Data Set used: Iris, Auto-mpg \n", "\n", + "### Exporter: XGBoost \n", + "### Data Set used: Iris, Auto-mpg\n", "\n", - "### **STEPS**: \n", - "\n", + "\n", + "### **STEPS**: \n", "- Build the Pipeline with model using XGBoost\n", "- Build PMML using Nyoka exporter" ] @@ -22,7 +20,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### XGBoost Classifier Model building (using pipeline) for Iris data set" ] }, @@ -78,7 +75,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### Export the Pipeline object into PMML using the Nyoka package" ] }, @@ -102,7 +98,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### XGBoost Regressor Model building (using pipeline) for Auto-mpg data set" ] }, @@ -147,7 +142,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### Export the Pipeline object into PMML using the Nyoka package" ] }, @@ -159,13 +153,6 @@ "source": [ "xgboost_to_pmml(pipeline_obj,feature_names,target_name,\"xgbr_pmml.pmml\")" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": { diff --git a/examples/xgboost/2_xgboost_With_Scaling.ipynb b/examples/xgboost/2_xgboost_With_Scaling.ipynb index 2a5f058..643db65 100644 --- a/examples/xgboost/2_xgboost_With_Scaling.ipynb +++ b/examples/xgboost/2_xgboost_With_Scaling.ipynb @@ -4,16 +4,14 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", - "XGBoost → PMML (using Nyoka) \n", + "# XGBoost → PMML\n", "\n", - "
\n", - " Exporter: XGboost Classifier \n", - " Data Set used: Iris \n", "\n", + "### Exporter: XGboost Classifier\n", + "### Data Set used: Iris\n", "\n", - "**STEPS**: \n", - "\n", + "\n", + "### **STEPS**:\n", "- Build the Pipeline with preprocessing \n", "- Build PMML using Nyoka exporter" ] @@ -22,7 +20,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### Pre-processing, Model building (using pipeline) for Iris data set" ] }, @@ -79,7 +76,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### Export the Pipeline object into PMML using the Nyoka package" ] }, @@ -97,13 +93,6 @@ "from nyoka import xgboost_to_pmml\n", "xgboost_to_pmml(pipeline_obj,features,target,\"xgbc_pmml_preprocess.pmml\")" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": { diff --git a/examples/xgboost/3_xgboost_With_PreProcess .ipynb b/examples/xgboost/3_xgboost_With_PreProcess .ipynb index 8c2aecf..2d4879f 100644 --- a/examples/xgboost/3_xgboost_With_PreProcess .ipynb +++ b/examples/xgboost/3_xgboost_With_PreProcess .ipynb @@ -4,16 +4,14 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", - "XGBoost → PMML (using Nyoka) \n", + "# XGBoost → PMML\n", "\n", - "
\n", - " Exporter: XGboost Regressor \n", - " Data Set used: Auto \n", "\n", + "### Exporter: XGboost Regressor\n", + "### Data Set used: Auto\n", "\n", - "**STEPS**: \n", - "\n", + "\n", + "### **STEPS**:\n", "- Build the Pipeline with preprocessing \n", "- Build PMML using Nyoka exporter" ] @@ -22,7 +20,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### Pre-processing, Model building (using pipeline) for Auto data set" ] }, @@ -85,7 +82,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", "### Export the Pipeline object into PMML using the Nyoka package" ] }, @@ -103,13 +99,6 @@ "from nyoka import xgboost_to_pmml\n", "xgboost_to_pmml(pipeline_obj,feature_names,target_name,\"xgbr_pmml_preprocess.pmml\")" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": {