Last active
August 22, 2018 22:22
-
-
Save argenisleon/532b0b2cf0e46ab336914901080ec22d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from optimus import Optimus | |
| from optimus.ml.models import ML | |
| op = Optimus() | |
| ml = ML() | |
| df_predict, rf_model = ml.random_forest(df_cancer, columns, "diagnosis") | |
| ['label', | |
| 'diagnosis', | |
| 'radius_mean', | |
| 'texture_mean', | |
| 'perimeter_mean', | |
| 'area_mean', | |
| 'smoothness_mean', | |
| 'compactness_mean', | |
| 'concavity_mean', | |
| 'concave points_mean', | |
| 'symmetry_mean', | |
| 'fractal_dimension_mean', | |
| 'features', | |
| 'rawPrediction', | |
| 'probability', | |
| 'prediction'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment