<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by ANDRIANIRINTSOA Niaina Tahiana on Medium]]></title>
        <description><![CDATA[Stories by ANDRIANIRINTSOA Niaina Tahiana on Medium]]></description>
        <link>https://medium.com/@Niaina_Tahiana?source=rss-79f2b992d7fa------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*FFl8B5t_ZnS3H1nF</url>
            <title>Stories by ANDRIANIRINTSOA Niaina Tahiana on Medium</title>
            <link>https://medium.com/@Niaina_Tahiana?source=rss-79f2b992d7fa------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 18:34:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Niaina_Tahiana/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Interpretation AI and Explanation AI of Titanic SpaceShip predictions]]></title>
            <link>https://medium.com/smartpredict/interpretation-ai-and-explanation-ai-of-titanic-spaceship-predictions-f77342a1a203?source=rss-79f2b992d7fa------2</link>
            <guid isPermaLink="false">https://medium.com/p/f77342a1a203</guid>
            <category><![CDATA[model-interpretation]]></category>
            <category><![CDATA[spaceship-titanic]]></category>
            <category><![CDATA[ai-interpretation]]></category>
            <category><![CDATA[model-explanation]]></category>
            <category><![CDATA[ai-explanation]]></category>
            <dc:creator><![CDATA[ANDRIANIRINTSOA Niaina Tahiana]]></dc:creator>
            <pubDate>Fri, 24 Jun 2022 11:58:40 GMT</pubDate>
            <atom:updated>2022-06-24T11:59:11.602Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction:</h3><p>In the last tutorial here <a href="https://smartpredict.ai/blog/smartpredict/tita">https://smartpredict.ai/blog/smartpredict/tita</a>, we’ve seen Kaggle’s baseline project with SmartPredict with the Titanic SpaceShip dataset. Here is a new tutorial where we will learn how to interpret the model and explain a single prediction by using SmartPredict. Interpretable AI or explainable AI allows us to identify which feature is influential in the model’s prediction and helps us understand how machine learning models make decisions that can be understood by a human. This method can improve the trust in the model’s decisions. It is important to know how a given model makes certain predictions. SmartPredict provides interpretability and explainability solutions.</p><p>The original article can be found at <a href="https://smartpredict.ai/blog/smartpredict/interpretation-ai-and-explanation-ai-of-titanic-spaceship">https://smartpredict.ai/blog/smartpredict/interpretation-ai-and-explanation-ai-of-titanic-spaceship</a></p><p>So let’s get started :)</p><p>Let’s keep our last project with the Titanic SpaceShip dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*RUsHyHsZzjRvor2r" /></figure><h3>Interpretations AI: global methods</h3><h3>Model Interpreter module</h3><p>Global methods are those that attempt to explain the whole model. SmartPredict has a module for model global interpretation: the “Model Interpreter” module.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/345/0*Nd8yXSmyIQSgROMm" /></figure><p>We can put this module between the model trainer and the model evaluator modules.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/0*fYCytsuTaQOiWrT0" /></figure><p>This module takes as input :</p><p>-the trained model to be interpreted</p><p>-the features used in model training</p><p>-the label used in model training</p><p>-the features for validation</p><p>-the label for validation</p><p>This module generates 1 output: the interpreted model</p><h3>Model properties:</h3><p>We can see model proprieties by clicking on the “Properties” option on the trained model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/349/0*ghqwz-GqxYsGlPXN" /></figure><p>We obtain three tabs:</p><p>-Summary</p><p>-Evaluation</p><p>-Interpretation</p><h3>Summary:</h3><p>On this tab, you will find summaries and descriptions of the model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*4mjh2DUhF7P00GoY" /></figure><h3>Evaluation:</h3><p>This tab shows the metrics score selected on the “Model Evaluator” module, along with its values. Since it is a classification problem, we have additional plots such as the ROC curve, confusion matrix, and lift chart. All of these plots can be seen in the left tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*jlWN9PF4vJCffFE0" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*0GxUWEgAOq6GczMz" /></figure><h3>Interpretation:</h3><p>his tab shows model interpretation containing the following:</p><h4>Permutation feature importance</h4><p>By using this functionality, we can show the importance of each feature in descending order.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*hFfO2ud9li7AtQGA" /></figure><h4>Partial Dependency Plot:</h4><p>A PDP enables visualization of the impact or effect of the feature of interest across all data points.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*qqfTqcBDEzoSteBZ" /></figure><h4>Partial Dependency Plot in 2-dimensions:</h4><p>Using a 2-D plot of partial dependence, we can see how the combination of two features affects the label.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*pbyb82iZggjTT-3m" /></figure><h4>Features interaction plot:</h4><p>Interaction between features is among the main issues in interpretable machine learning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*dpkFdsOYGGDaWlSX" /></figure><p>In order to access model properties, we can go to the “Trained Models” menu and search for the name of our model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/283/0*BTIc29MxWJTubXp7" /></figure><p>On the right side, click the “Properties” option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*JgFyXmUbu9kONKmF" /></figure><p>Each global method is described briefly.</p><h3>Model explanations: local methods</h3><h3>Build space:</h3><p>Now let’s move on to the explanation of models. Local methods train interpretable models to approximate the individual predictions.</p><p>In the “Model Trainer” module, let’s check the “Generate explanations” box.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/0*hVb3AIWgQxls32JL" /></figure><p>We can re-run our flowchart now in order to generate explications.</p><h3>Deploy space:</h3><p>Afterward, we can translate the flowchart and start deployment.</p><p>The “Features selector” module can be removed, as it is not necessary for the deployment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/0*-XzQz1ILSoYM2qVv" /></figure><p>Also check the “Generate explanations” parameter in the “Model Predictor” module and our desired methods for generating explanations: SHAP plot, LIME plot, and counterfactual explanations table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/0*QgkzrowF1ZqurtPJ" /></figure><p>Change the model trained instance and the processing pipeline instance.</p><p>Continue by deploying as a web service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/0*A8HcnK_F6YApQgfv" /></figure><p>Go to the monitor space and verify if the web service is ready before sending a request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/491/0*TaM6SK3Z9b9ZVkr_" /></figure><h3>Predict space:</h3><p>After sending the request, we obtain outputs in the explanations tab:</p><p>Shapley Additive exPlanations or SHAP plot: for showing the contribution of each feature to the prediction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*q3tJ5s52lHkgYVt8" /></figure><p>Local Interpretable Model-agnostic Explanations or LIME plot: used to show significant features along with their bounding values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*7RchG9OImd3e5UKb" /></figure><p>Counterfactual explanations help us to understand an ML model by generating “what-if” data points that lead to the desired model output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*L7gxAfPMYuO9eUSJ" /></figure><h3>Conclusion:</h3><p>Congratulations! You have just interpreted and explained the Machine Learning model, as well as different global and local methods to explain each instance with such as permutation feature importance, partial dependency plot, partial dependency 2-D plot, features interaction, SHAP, LIME, and counterfactuals table. These tools can be used to provide clear and understandable explanations of the reasoning that led to the model’s output.</p><p>Thank you!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f77342a1a203" width="1" height="1" alt=""><hr><p><a href="https://medium.com/smartpredict/interpretation-ai-and-explanation-ai-of-titanic-spaceship-predictions-f77342a1a203">Interpretation AI and Explanation AI of Titanic SpaceShip predictions</a> was originally published in <a href="https://medium.com/smartpredict">SmartPredict</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Predicting a Kaggle competition baseline with Titanic Spaceship dataset]]></title>
            <link>https://medium.com/smartpredict/predicting-a-kaggle-competition-baseline-titanic-spaceship-dataset-by-using-smartpredict-platform-80a12f78b35e?source=rss-79f2b992d7fa------2</link>
            <guid isPermaLink="false">https://medium.com/p/80a12f78b35e</guid>
            <category><![CDATA[kaggle]]></category>
            <category><![CDATA[spaceship-titanic]]></category>
            <category><![CDATA[smart-predict]]></category>
            <dc:creator><![CDATA[ANDRIANIRINTSOA Niaina Tahiana]]></dc:creator>
            <pubDate>Tue, 31 May 2022 12:44:59 GMT</pubDate>
            <atom:updated>2022-06-24T11:21:50.728Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction :</h3><p>In this tutorial, we will learn how to do prediction with a Kaggle competition baseline with the Titanic SpaceShip dataset. It consists of predicting whether a passenger was transported to an alternate dimension during the Spaceship Titanic’s collision with the spacetime anomaly. You can download this dataset at this link <a href="https://www.kaggle.com/competitions/spaceship-titanic/data">https://www.kaggle.com/competitions/spaceship-titanic/data</a>. This dataset contains a set of personal records recovered from the ship’s damaged computer system.</p><p>With this use case, let us help you to explore the SmartPredict Platform, how to create projects, how to run projects, how to create predictions, etc … SmartPredict procures multiple features and functionalities useful for AI projects. It contains drag and drops functionality and many modules for building projects.</p><p>The original article can be found at <a href="https://smartpredict.ai/blog/smartpredict/tita">https://smartpredict.ai/blog/smartpredict/tita</a></p><p>Now, let’s get started :)</p><h3>Log in SmartPredict :</h3><p>If you don’t have a SmartPredict account, you should sign up here <a href="https://cloud.smartpredict.ai/register-choice">https://cloud.smartpredict.ai/register-choice</a>. But if you already have an account, you just sign in here <a href="https://cloud.smartpredict.ai/login">https://cloud.smartpredict.ai/login</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hNaII2Ey9Ffl0_tH" /></figure><p>Once, you are in the dashboard, you can start by creating a new project in the « My projects » menu :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kf4di5tca_wJN0a9" /></figure><p>After creating a project, we obtain a workspace like this :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SwC1yF0W_BasRFbe" /></figure><p>We have to select a dataset :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1YHal70qkbFbHuII" /></figure><h3>Create flowchart build:</h3><h3>Insert dataset:</h3><p>Let’s drag and drop the dataset to the workspace :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/0*F2xxDDi7cgMezIcB" /></figure><p>We can see an overview of this dataset with the « View Summary » option in the workspace or the dataset menu and by clicking the « View Summary » option :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IG8ASyYPS4FbfWGA" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_DFvMFY6me303amO" /></figure><p>This option allows us to see the list of columns and their respective types, the number of rows, and the table size.</p><p><strong>Columns descriptions :</strong></p><p>Let’s take an overview of each column :</p><ul><li>Age: the age of the passenger</li><li>Spa, RoomService, FoodCourt, VRDeck, ShoppingMall: Amount the passenger has billed at each of the <em>Spaceship Titanic</em>’s many luxury amenities.</li><li>VIP: whether the passenger has paid for special VIP service during the voyage.</li><li>Name: The first and last names of the passenger</li><li>Cabin: The cabin number where the passenger is staying</li><li>CryoSleep: Indicates whether the passenger elected to be put into suspended animation for the duration of the voyage. Passengers in cryosleep are confined to their cabins.</li><li>HomePlanet: The planet the passenger departed from, typically their planet of permanent residence.</li><li>Destination: The planet the passenger will be debarking to</li><li>PassengerId: Unique Id for each passenger</li><li>Transported: whether the passenger was transported to another dimension. This is the target column to predict.</li></ul><p>As we can see, some columns contain missing values.</p><h3>Data preprocessing :</h3><p>Data preprocessing includes the steps we need to follow to clean data and organize data to be suitable for machine learning models. There will be :</p><p>-unnecessary columns in a dataset for example columns with many values, unique values, and constant values.</p><p>-columns with missing values</p><p>-categorical columns</p><p>-numerical columns not on the same scale that can affect the performance of a model</p><p>Data preprocessing increases the efficiency of a machine learning model.</p><h3>Delete unnecessary columns :</h3><p>It is necessary to use this method here because there are columns with many values and unique values.</p><p>Drag and drop the “Dataset processor” module and relate it to the dataset. By clicking on this module, there are many options that we can use to process our dataset. Here, let’s choose the option “Delete column” and select columns to delete in the “Columns to delete” fields.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/0*nbHUyaYp2OYdxWNT" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/367/0*ZVFnkcqzW90y4vF8" /></figure><h3>Handling missing values:</h3><p>As we can see from the dataset’s summary, there are some categorical and numerical attributes with missing values. To handle them, let’s use the “Dataset processor” module but by using another option: “Handle missing values”. One processor for the categorical features and one for the numerical features.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/654/0*je6qSeitr01roT0a" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/653/0*soESfXRpu9aZX_WM" /></figure><p>We can insert config parameters as we want. Here, we have a classification task, we have to fill missing values in categorical features by inserting column names in the “Subset columns” field. We have used the median method.</p><p>Let’s handle now missing values in categorical columns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/0*aZgTcdO0oxzZYbhD" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/0*YvGysxNScZdkRNo3" /></figure><p>In the above illustration, we have used a frequency method for imputing missing values.</p><h3>Normalization:</h3><p>Variables that are measured at different scales don’t contribute equally to the model fitting. Thus, to deal with this potential problem, we should apply a normalization method, the Min-Max scaler for numerical features. Normalization scales each feature into the range [0,1]. Then, it makes our training faster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/0*C9jK74oqIVRCKYGe" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/649/0*KuOfo2kB-jB8FzUt" /></figure><p>The “Normalize” option is chosen among the existing options. We can configure the module and insert the column names to operate.</p><h3>One Hot Encoding:</h3><p>Machine learning algorithms want everything to be provided to them in numerical form.</p><p>As we have categorical variables which haven’t related to each other and which can’t be recognized by machine learning algorithms, let’s apply one hot encode these variables.</p><p>For using this method in SmartPredict, we just select the “One hot encode” option in the “Processor to use” field.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/0*AQlVR751uObtU7XY" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/0*Nidwunq3KfJgvG6O" /></figure><p>We don’t have to scale one hot encoded feature because they are already between 0 and 1.</p><p>Until now, we have created processing pipelines in the flowchart.</p><p>Let’s take an illustration to see it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/188/0*c7UYeZsoleySrpau" /></figure><h3>Save processing pipeline:</h3><p>We need to save all this processing pipeline for applying them in deployment.</p><p>SmartPredict has an excellent module for saving items like processing pipelines, datasets, trained models, and feature engineering models. Let’s save the processing pipeline by using the “Item Saver” module in the “Control Modules” category (in the Core Modules Features) in the right part.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/0*tHnv0ZzkLsojyyod" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/382/0*a2jXYN_NI2q0Ikit" /></figure><p>We have attributed it a name.</p><h3>Select features and labels:</h3><h4>Select features:</h4><p>For selecting all features for training, let’s use the “Delete column” processor again. This processor should be related to the “One hot encode” processor’s output. Then, the “Transported” column will be removed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/0*M7qgPYFQWUEu17g_" /></figure><h4>Select label:</h4><p>Label column contains boolean values with two classes: True and False for indicating whether the passenger has been transported or not. Thus, we need to save the trained model in the next step with the item saver module that can’t support the boolean type. We can also see ordinal encoding functionality in the “Dataset Processor” module.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/0*9PcqrjTCEkQ5xf_0" /></figure><p>The option “Keep these columns only”, in the “Dataset processor” is used for the label.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/0*UtBHkGjlYntURac7" /></figure><p>In the “Data Selection” category, we need to drag and drop the “Features selector” module for selecting labels.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/379/0*Ad7ol-r4RGM7zfMa" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/649/0*u5x8GOjIJrNBV5HF" /></figure><p>In the “Features and labels” group, we just select the “Transported” column in the “Selected labels” field. This module generates 2 outputs: features and label, but we keep label output for model training.</p><p>For now, we have this flowchart architecture:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/0*kgumiPZ7klnxJ-kb" /></figure><p>After selecting features and labels, let’s apply the Train and test split to split data either as training or testing.</p><h3>Train and test split:</h3><p>The module “Data splitter” in the “Data Selection” category is useful to split data. We just choose the “Train/Test Split” option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/0*xd3u36als4i6A0Ir" /></figure><p>This option takes 2 inputs: features (from the Delete column’s output) and label (from the Features selector’s output) and has 4 outputs :</p><ol><li>Features for training</li><li>Label for training</li><li>Features for testing</li><li>Label for testing</li></ol><p>We will need these outputs for training and evaluating a model.</p><h3>Model training:</h3><p>First of all, let’s use the Random Forest classifier for training our model. It consists of creating trees of decisions on randomly selected data samples, obtaining predictions from each tree, and selecting the best solution through a vote. Each tree depends on an independent random sample. The most popular class is chosen as the final result.</p><p>Choose the classifier to train: Random Forest Classifier in the “Machine Learning Algorithms” category. After that, relate it to the “Model Trainer” module in the “Training &amp; Prediction” category.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/0*pMNO_joxmr0Av8wv" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/0*sAfA48y2oqebYN6F" /></figure><p>“Model Trainer” takes as inputs :</p><ol><li>Trainable Machine Learning, Deep Learning, Prophet, or Keras algorithms.</li><li>Features of the training data</li><li>Labels of the training data</li><li>Features data used to validate a model</li><li>Label of the validation dataset</li></ol><p>Connect the first third inputs to the classifier from the “Random Forest Classifier” module to the features for training, and the label for training from the “Train/Test Split”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/0*pmeU-usExALB7l1Q" /></figure><h3>Save model:</h3><p>Don’t forget to save the trained model, we will need it in the deployment.</p><p>Let’s drag and drop a new instance of the “Item Saver” module for it and choose the “Trained model (ML, DL, FE, PRC, LANG)” option, and attribute to it a name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/0*QMC7mTDF3YFyeQv8" /></figure><h3>Evaluate model:</h3><p>For evaluating the model’s performances, let’s use the “Model Evaluator” module in the “Evaluation &amp; Fine Tuning” category, which takes 3 mandatory inputs:</p><ol><li>Trained model</li><li>Features for test</li><li>Label for test</li></ol><p>This module generates 2 outputs:</p><ol><li>Model’s score</li><li>Trained and evaluated model</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/0*taCUrVXCl9W0YnnZ" /></figure><p>In the above illustration, we have chosen 3 metrics for evaluating our model: F1 score, Precision score, and Recall score.</p><p>We can log the score by using the “Data/Object/Type Logger” module.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/353/0*qwsCqD4RQmoaxUr8" /></figure><p>We have finished our build flowchart. Let’s run it by clicking the “Run” option on the left and wait for it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-TlQpx-HJ4TsWZ68" /></figure><p>We can see the score in the Build Logs at the bottom.</p><h3>Deployment:</h3><p>A popup will appear when all is done if we want to create a deployment. Select the radio-box Flowchart 1 for selecting the flowchart to translate to the deployment flowchart.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dgDMx1QX-_VV1R7B" /></figure><p>Then, we will be redirected to the deployment space.</p><p>We obtained this flowchart.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5TJYlc2I-wrpJozx" /></figure><p>We have removed the “Features selector” module from this flowchart, we don’t need it.</p><p>As we can see, the processing pipeline saved and the trained model saved in the build space appear here.</p><p>-Click on the “Deploy as web service” on the left top</p><p>-Click on the Deploy button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pH6zyVs2HS6NLiDs" /></figure><p>-Choose a model for flowchart deployment</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BepxNKVIWXEezVSC" /></figure><p>-Choose a resource template to allocate and click on the “Run” button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KMWf8fBcoV9AA6aJ" /></figure><p>A pop indicating web service access appears</p><h3>Monitoring:</h3><p>-Click on the “Go To MONITOR SPACE” button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kJrTJHJkUk-vVjJ1" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Nqg6HqOYdJ-M_m-q" /></figure><p>Once the web service is ready, you can go to the Predict Space and create a request.</p><h3>Create and launch request:</h3><p>After creating a request, we have 4 types of data format, but let’s use an example with a JSON format.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/390/0*vRGociFRaYq1mLIy" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Vavxu6Libw7pnMxY" /></figure><p>Click on the “Launch request” and wait for the result.</p><p>We can see from the next illustration the outcome, in the TABLE tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pgXNLXKF6-udPxzQ" /></figure><p>This outcome contains column names with their values inserted in the request, the predicted variable, and the confidence. We can add multiple requests as we want by trying these other data formats.</p><p>Don’t forget to put off your web service when you have finished using a project.</p><h3>Conclusion:</h3><p>Now, we were able to create a project on the SmartPredict platform, we have used some modules and explored the dataset. We have treated a famous Kaggle competition baseline using SmartPredict. For the next part, we will try to interpret the model used in this project with the “Model Interpreter” module and explain each prediction’s instance. Thank you !!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80a12f78b35e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/smartpredict/predicting-a-kaggle-competition-baseline-titanic-spaceship-dataset-by-using-smartpredict-platform-80a12f78b35e">Predicting a Kaggle competition baseline with Titanic Spaceship dataset</a> was originally published in <a href="https://medium.com/smartpredict">SmartPredict</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>