Data wrangling
Select training attributes and target
Select X,y for Machine Learning model training. The X
matrix is used as model input, whereas y
vector is used as model target.
mlmachine-learningxytarget
Required packages
You need below packages to use the code generated by recipe. All packages are automatically installed in MLJAR Studio.
pandas>=1.0.0
Interactive recipe
You can use below interactive recipe to generate code. This recipe is available in MLJAR Studio.
In the below recipe, we assume that you have following variables available in your notebook:
- df_1 (type DataFrame)
- df_2 (type DataFrame)
Python code
# Python code will be here
Example Python notebooks
Please find inspiration in example notebooks
- MLJAR AutoML solution for Kaggle Playground series s4e6
- Decision Tree features importance
- Save and load Decision Tree
- Visualize Decision Tree
- Train Decision Tree classifier
- Train Decision Tree on Iris data set
- Train Decision Tree regressor
- Train Random Forest classifier
- Train Random Forest regressor
- Tune Decision Tree classifier
Data wrangling cookbook
Code recipes from Data wrangling cookbook.
- « Previous
- Display DataFrame
- Next »
- Select Columns