Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

LabelPrediction
2This value indicates that the situation is benign.
4This value indicates that the situation is malignmalignant.

The following steps demonstrate how the Machine Learner can use this dataset to make a prediction.

...

Tip
titleBefore you begin,
  1. Install Oracle Java SE Development Kit (JDK) version 1.6.24 or later or 1.7.* and set the JAVA_HOME environment variable.
  2. Download WSO2 ML.
  3. Start the ML by going to <ML_HOME>/bin using the command-line and executing wso2server.bat  (for Windows) or  wso2server.sh  (for Linux.) 

...

  1. Log into the ML UI if you are not already logged in. 
  2. Click the You have X projects link as shown below.
  3. Click on the Breast_Cancer_data_analytics_project project to expand it.
  4. Enter breast_cancer_analysis_1 as the analysis name and click CREATE ANALYSIS. The following page will appear displaying the summary statistics.
     
  5. Click Next without making any changes to the summary statistics.

    The Explore view will open. You will notice that Parallel Sets and Trellis Chart visualisations are enabled, and Scatter Plot and Cluster Diagram visualisations are disabled. This is determined by the feature types of the dataset. Select and clear the checkboxes for categorical features as follows.
     

  6. Click Next. The Algorithms view will be displayed. Enter values as shown below.

    ParameterValue
    Algorithm nameLOGISTIC REGRESSION L_BFGS
    Response variableClass
    Train data fraction0.7
  7. Click Next. The Parameters view will appear. Enter L2 as the reg type.
     
  8. Click Next. The Model view will appear. Select Breast_Cancer_Dataset-1.0.0 as the dataset version.
     
  9. Click RUN to perform train the analysismodel.
    The analysis will be created and displayed for the project as shown below.

...