Data Science and Machine Learning Free Recipes
Learn Machine Learning by example
Get ready to use code snippets for solving real-world business problems
Explanations
Code snippets include helpful explanations to understand the code logic.
Detailed Coverage
Deep coverage of various data science topics needed for real industry projects.
Select Category
CODE SNIPPET CATEGORY
How to find optimal parameters for CatBoost using GridSearchCV for Classification? Machine Learning Recipes,find, optimal, parameters, for, catboost, using, gridsearchcv, for, classification
How to find optimal parameters for CatBoost using GridSearchCV for Regression? Machine Learning Recipes,find, optimal, parameters, for, catboost, using, gridsearchcv, for, regression
How to find optimal parameters using RandomizedSearchCV for Regression? Machine Learning Recipes,find, optimal, parameters, using, randomizedsearchcv, for, regression
How to find optimal parameters using GridSearchCV for Regression? Machine Learning Recipes,find, optimal, parameters, using, gridsearchcv, for, regression
How to find optimal parameters using RandomizedSearchCV? Machine Learning Recipes,find, optimal, parameters, using, randomizedsearchcv
How to find optimal parameters using GridSearchCV? Machine Learning Recipes,find, optimal, parameters, using, gridsearchcv
How to optimise learning rates in XGBoost example 2? Machine Learning Recipes,optimise, learning, rates, xgboost, example, 2
How to optimise learning rates in XGBoost example 1? Machine Learning Recipes,optimise, learning, rates, xgboost, example, 1
How to optimise size (depth) of trees in XGBoost? Machine Learning Recipes,optimise, size, (depth), of, trees, xgboost
How to optimise number of trees in XGBoost? Machine Learning Recipes,optimise, number, of, trees, xgboost
How to parallalise execution of XGBoost and cross validation in Python? Machine Learning Recipes,parallalise, execution, of, xgboost, and, cross, validation
How to evaluate XGBoost model with learning curves example 2? Machine Learning Recipes,evaluate, xgboost, model, with, learning, curves, example, 2
How to evaluate XGBoost model with learning curves example 1? Machine Learning Recipes,evaluate, xgboost, model, with, learning, curves, example, 1
How to visualise XGBoost feature importance in Python? Machine Learning Recipes,visualise, xgboost, feature, importance
How to visualise XGBoost tree in Python? Machine Learning Recipes,visualise, xgboost, tree
How to save trained model in Python? Machine Learning Recipes,save, trained, model
How to implement voting ensemble in Python? Machine Learning Recipes,implement, voting, ensemble
How to compare sklearn classification algorithms in Python? Machine Learning Recipes,compare, sklearn, classification, algorithms
How to use Regression Metrics in Python? Machine Learning Recipes,use, regression, metrics
How to use Classification Metrics in Python? Machine Learning Recipes,use, classification, metrics
How to visualise a tree model Multiclass Classification? Machine Learning Recipes,visualise, tree, model, multiclass, classification
How to classify "wine" using different Boosting models? Machine Learning Recipes,classify, "wine", using, different, boosting, models
How to classify "wine" using sklearn ensemble (Boosting) model? Machine Learning Recipes,classify, "wine", using, sklearn, ensemble, (boosting), model
How to classify "wine" using sklearn ensemble (Bagging) model? Machine Learning Recipes,classify, "wine", using, sklearn, ensemble, (bagging), model
How to classify "wine" using sklearn tree model? Machine Learning Recipes,classify, "wine", using, sklearn, tree, model
How to classify "wine" using sklearn LDA and QDA model? Machine Learning Recipes,classify, "wine", using, sklearn, lda, and, qda, model
How to classify "wine" using sklearn nearest neighbors model? Machine Learning Recipes,classify, "wine", using, sklearn, nearest, neighbors, model
How to classify "wine" using sklearn Naive Bayes mdeol? Machine Learning Recipes,classify, "wine", using, sklearn, naive, bayes, mdeol
How to classify "wine" using sklearn linear_models? Machine Learning Recipes,classify, "wine", using, sklearn, linear_models
How to import a CSV file in Python? Machine Learning Recipes,import, csv, file
How to use SVM Classifier and Regressor in Python? Machine Learning Recipes,use, svm, classifier, and, regressor
How to use LightGBM Classifier and Regressor in Python? Machine Learning Recipes,use, lightgbm, classifier, and, regressor
How to use CatBoost Classifier and Regressor in Python? Machine Learning Recipes,use, catboost, classifier, and, regressor
How to use XgBoost Classifier and Regressor in Python? Machine Learning Recipes,use, xgboost, classifier, and, regressor
How to connect MySQL DB in Python? Machine Learning Recipes,connect, mysql, db
How to use MLP Classifier and Regressor in Python? Machine Learning Recipes,use, mlp, classifier, and, regressor
How to use GradientBoosting Classifier and Regressor in Python? Machine Learning Recipes,use, gradientboosting, classifier, and, regressor
How to use RandomForest Classifier and Regressor in Python? Machine Learning Recipes,use, randomforest, classifier, and, regressor
How to use Adaboost Classifier and Regressor in Python? Machine Learning Recipes,use, adaboost, classifier, and, regressor
How to use Classification and Regression Tree in Python? Machine Learning Recipes,use, classification, and, regression, tree
How to do MinShift Clustering in Python? Machine Learning Recipes,do, minshift, clustering
How to do DBSCAN based Clustering in Python? Machine Learning Recipes,do, dbscan, based, clustering
How to do Affinity based Clustering in Python? Machine Learning Recipes,do, affinity, based, clustering
How to do KMeans Clustering in Python? Machine Learning Recipes,do, kmeans, clustering
How to do Agglomerative Clustering in Python? Machine Learning Recipes,do, agglomerative, clustering
How to use nearest neighbours for Classification? Machine Learning Recipes,use, nearest, neighbours, for, classification
How to use nearest neighbours for Regression? Machine Learning Recipes,use, nearest, neighbours, for, regression
How to create and optimize a baseline Decision Tree model for MultiClass Classification? Machine Learning Recipes,and, optimize, baseline, decision, tree, model, for, multiclass, classification
How to create and optimize a baseline Decision Tree model for Binary Classification? Machine Learning Recipes,and, optimize, baseline, decision, tree, model, for, binary, classification
How to create and optimize a baseline Decision Tree model for Regression? Machine Learning Recipes,and, optimize, baseline, decision, tree, model, for, regression
How to create and optimize a baseline ElasticNet Regression model? Regression examples,and, optimize, baseline, elasticnet, regression, model,Model selection,and, optimize, baseline, elasticnet, regression, model
How to create and optimize a baseline Lasso Regression model? Regression examples,and, optimize, baseline, lasso, regression, model,Model selection,and, optimize, baseline, lasso, regression, model
How to create and optimize a baseline Ridge Regression model? Regression examples,and, optimize, baseline, ridge, regression, model,Model selection,and, optimize, baseline, ridge, regression, model
How to create and optimize a baseline linear regression model? Regression examples,and, optimize, baseline, linear, regression, model,Model selection,and, optimize, baseline, linear, regression, model
How to optimize hyper parameters of a DecisionTree model using Grid Search in Python? Hyperparameter tuning,optimize, hyper, parameters, of, decisiontree, model, using, grid, search
How to optimize hyper parameters of a Logistic Regression model using Grid Search in Python? Hyperparameter tuning,optimize, hyper, parameters, of, logistic, regression, model, using, grid, search,Regression examples,optimize, hyper, parameters, of, logistic, regression, model, using, grid, search
How to select model using Grid Search in Python? Model selection,model, using, grid, search
How to tune Hyper parameters using Random Search in Python? Hyperparameter tuning,tune, hyper, parameters, using, random, search
How to tune Hyper parameters using Grid Search in Python? Hyperparameter tuning,tune, hyper, parameters, using, grid, search
How to plot Validation Curve in Python? Data visualization,plot, validation, curve
How to plot a ROC Curve in Python? Data visualization,plot, roc, curve
How to plot a learning Curve in Python? Data visualization,plot, learning, curve
How to generate classification report and confusion matrix in Python? Model selection,generate, classification, report, and, confusion, matrix
How to check models Average precision score using cross validation in Python? Model selection,check, models, average, precision, score, using, cross, validation
How to check models AUC score using cross validation in Python? Model selection,check, models, auc, score, using, cross, validation,Model accuracy,check, models, auc, score, using, cross, validation
How to check models recall score using cross validation in Python? Model selection,check, models, recall, score, using, cross, validation,Model accuracy,check, models, recall, score, using, cross, validation
How to check models precision score using cross validation in Python? Model selection,check, models, precision, score, using, cross, validation,Model accuracy,check, models, precision, score, using, cross, validation
How to check models f1 score using cross validation in Python? Model selection,check, models, f1, score, using, cross, validation,Model accuracy,check, models, f1, score, using, cross, validation
How to check models accuracy using cross validation in Python? Model selection,check, models, accuracy, using, cross, validation,Model accuracy,check, models, accuracy, using, cross, validation
How to split train test data using sklearn and python? Data Munging,split, train, test, data, using, sklearn, and
How to do variance thresholding in Python for feature selection? Feature extraction,do, variance, thresholding, for, feature, selection
How to do recursive feature elimination in Python (DecisionTreeRegressor)? Feature extraction,do, recursive, feature, elimination, (decisiontreeregressor)
How to do recursive feature elimination in Python? Feature extraction,do, recursive, feature, elimination
How to drop out highly correlated features in Python? Feature extraction,drop, out, highly, correlated, features
How to select features using chi squared in Python? Feature extraction,features, using, chi, squared
How to select features using best ANOVA F values in Python? Feature extraction,features, using, best, anova, f, values
How to extract features using PCA in Python? Feature extraction,extract, features, using, pca
How to reduce dimentionality using PCA in Python? Data Munging,reduce, dimentionality, using, pca
How to reduce dimentionality on Sparse Matrix in Python? Data Munging,reduce, dimentionality, on, sparse, matrix
How to determine Spearmans correlation in Python? Data Munging,determine, spearmans, correlation
How to determine Pearsons correlation in Python? Data Munging,determine, pearsons, correlation
How to generate stacked BAR plot in Python? Data visualization,generate, stacked, bar, plot
How to generate PIE plot in Python? Data visualization,generate, pie, plot
How to generate grouped BAR plot in Python? Data visualization,generate, grouped, bar, plot
How to generate scatter plot using Pandas and Seaborn? Data visualization,generate, scatter, plot, using, pandas, and, seaborn,Pandas cheatsheet,generate, scatter, plot, using, pandas, and, seaborn
How to generate timeseries using Pandas and Seaborn? Pandas cheatsheet,generate, timeseries, using, pandas, and, seaborn
How to utilise timeseries in pandas? Pandas cheatsheet,utilise, timeseries, pandas
How to generate BAR plot using pandas DataFrame? Data visualization,generate, bar, plot, using, pandas, dataframe,Pandas cheatsheet,generate, bar, plot, using, pandas, dataframe
How to use seaborn to visualise a Pandas dataframe? Data visualization,use, seaborn, visualise, pandas, dataframe,Pandas cheatsheet,use, seaborn, visualise, pandas, dataframe
How to utilise Pandas dataframe & series for data wrangling? Data Munging,utilise, pandas, dataframe, &, series, for, data, wrangling,Python pandas dataframe,utilise, pandas, dataframe, &, series, for, data, wrangling,Pandas cheatsheet,utilise, pandas, dataframe, &, series, for, data, wrangling,Pandas dataframe tutorial,utilise, pandas, dataframe, &, series, for, data, wrangling,Pandas series,utilis
How to do string munging in Pandas? Data Munging,do, string, munging, pandas,Pandas cheatsheet,do, string, munging, pandas
How to sort rows within a Pandas DataFrame? Data Munging,sort, rows, within, pandas, dataframe,Python pandas dataframe,sort, rows, within, pandas, dataframe,Pandas cheatsheet,sort, rows, within, pandas, dataframe,Pandas dataframe tutorial,sort, rows, within, pandas, dataframe
How to select rows with multiple filters? Data Munging,rows, with, multiple, filters,Data cleaning python,rows, with, multiple, filters
How to search a value within a Pandas DataFrame row? Data Munging,search, value, within, pandas, dataframe, row,Python pandas dataframe,search, value, within, pandas, dataframe, row,Pandas dataframe tutorial,search, value, within, pandas, dataframe, row
How to search a value within a Pandas DataFrame column? Data Munging,search, value, within, pandas, dataframe, column,Python pandas dataframe,search, value, within, pandas, dataframe, column,Pandas cheatsheet,search, value, within, pandas, dataframe, column,Pandas dataframe tutorial,search, value, within, pandas, dataframe, column,Pandas column,search, value, within, pandas, dataframe, column
How to save Pandas DataFrame as CSV file? Data Munging,save, pandas, dataframe, as, csv, file,Python pandas dataframe,save, pandas, dataframe, as, csv, file,Pandas cheatsheet,save, pandas, dataframe, as, csv, file,Pandas dataframe tutorial,save, pandas, dataframe, as, csv, file
How to replace multiple values in a Pandas DataFrame? Data Munging,replace, multiple, values, pandas, dataframe,Python pandas dataframe,replace, multiple, values, pandas, dataframe,Pandas cheatsheet,replace, multiple, values, pandas, dataframe,Pandas dataframe tutorial,replace, multiple, values, pandas, dataframe
How to rename multiple column headers in a Pandas DataFrame? Data Munging,rename, multiple, column, headers, pandas, dataframe,Python pandas dataframe,rename, multiple, column, headers, pandas, dataframe,Pandas cheatsheet,rename, multiple, column, headers, pandas, dataframe,Pandas dataframe tutorial,rename, multiple, column, headers, pandas, dataframe,Pandas column,rename, multiple, column, headers,
How to rename column header of a Pandas DataFrame? Data Munging,rename, column, header, of, pandas, dataframe,Python pandas dataframe,rename, column, header, of, pandas, dataframe,Pandas cheatsheet,rename, column, header, of, pandas, dataframe,Pandas dataframe tutorial,rename, column, header, of, pandas, dataframe,Pandas column,rename, column, header, of, pandas, dataframe
How to reindex Pandas Series and DataFrames? Data Munging,reindex, pandas, series, and, dataframes,Python pandas dataframe,reindex, pandas, series, and, dataframes,Pandas cheatsheet,reindex, pandas, series, and, dataframes,Pandas dataframe tutorial,reindex, pandas, series, and, dataframes,Pandas series,reindex, pandas, series, and, dataframes
How to rank a Pandas DataFrame? Data Munging,rank, pandas, dataframe,Python pandas dataframe,rank, pandas, dataframe,Pandas cheatsheet,rank, pandas, dataframe,Pandas dataframe tutorial,rank, pandas, dataframe
How to randomly sample a Pandas DataFrame? Data Munging,randomly, sample, pandas, dataframe,Python pandas dataframe,randomly, sample, pandas, dataframe,Pandas cheatsheet,randomly, sample, pandas, dataframe,Pandas dataframe tutorial,randomly, sample, pandas, dataframe
How to format string in a Pandas DataFrame Column? Data Munging,format, string, pandas, dataframe, column,Python pandas dataframe,format, string, pandas, dataframe, column,Pandas cheatsheet,format, string, pandas, dataframe, column,Pandas dataframe tutorial,format, string, pandas, dataframe, column,Pandas column,format, string, pandas, dataframe, column
How to create Pivot table using a Pandas DataFrame? Data Munging,pivot, table, using, pandas, dataframe,Python pandas dataframe,pivot, table, using, pandas, dataframe,Pandas cheatsheet,pivot, table, using, pandas, dataframe,Pandas dataframe tutorial,pivot, table, using, pandas, dataframe
How to Normalise a Pandas DataFrame Column? Data Munging,normalise, pandas, dataframe, column,Python pandas dataframe,normalise, pandas, dataframe, column,Pandas cheatsheet,normalise, pandas, dataframe, column,Pandas dataframe tutorial,normalise, pandas, dataframe, column,Pandas column,normalise, pandas, dataframe, column
How to calculate MOVING AVG in a Pandas DataFrame? Data Munging,calculate, moving, avg, pandas, dataframe,Python pandas dataframe,calculate, moving, avg, pandas, dataframe,Pandas cheatsheet,calculate, moving, avg, pandas, dataframe,Pandas dataframe tutorial,calculate, moving, avg, pandas, dataframe
How to deal with missing values in a Pandas DataFrame? Data Munging,deal, with, missing, values, pandas, dataframe,Python pandas dataframe,deal, with, missing, values, pandas, dataframe,Pandas cheatsheet,deal, with, missing, values, pandas, dataframe,Pandas dataframe tutorial,deal, with, missing, values, pandas, dataframe
How to map values in a Pandas DataFrame? Data Munging,map, values, pandas, dataframe,Python pandas dataframe,map, values, pandas, dataframe,Pandas cheatsheet,map, values, pandas, dataframe,Pandas dataframe tutorial,map, values, pandas, dataframe
How to list unique values in a Pandas DataFrame? Data Munging,list, unique, values, pandas, dataframe,Python pandas dataframe,list, unique, values, pandas, dataframe,Pandas cheatsheet,list, unique, values, pandas, dataframe,Pandas dataframe tutorial,list, unique, values, pandas, dataframe
How to JOIN and MERGE Pandas DataFrame? Data Munging,join, and, merge, pandas, dataframe,Python pandas dataframe,join, and, merge, pandas, dataframe,Pandas cheatsheet,join, and, merge, pandas, dataframe,Pandas dataframe tutorial,join, and, merge, pandas, dataframe
How to present Hierarchical Data in Pandas? Data Munging,present, hierarchical, data, pandas,Pandas cheatsheet,present, hierarchical, data, pandas
How to group rows in a Pandas DataFrame? Data Munging,group, rows, pandas, dataframe,Python pandas dataframe,group, rows, pandas, dataframe,Pandas cheatsheet,group, rows, pandas, dataframe,Pandas dataframe tutorial,group, rows, pandas, dataframe
How to find the largest value in a Pandas DataFrame? Data Munging,find, largest, value, pandas, dataframe,Python pandas dataframe,find, largest, value, pandas, dataframe,Pandas cheatsheet,find, largest, value, pandas, dataframe,Pandas dataframe tutorial,find, largest, value, pandas, dataframe
How to filter in a Pandas DataFrame? Data Munging,filter, pandas, dataframe,Python pandas dataframe,filter, pandas, dataframe,Pandas dataframe tutorial,filter, pandas, dataframe
How to drop ROW and COLUMN in a Pandas DataFrame? Data Munging,drop, row, and, column, pandas, dataframe,Python pandas dataframe,drop, row, and, column, pandas, dataframe,Pandas cheatsheet,drop, row, and, column, pandas, dataframe,Pandas dataframe tutorial,drop, row, and, column, pandas, dataframe,Pandas column,drop, row, and, column, pandas, dataframe
How to get descriptive statistics of a Pandas DataFrame? Data Munging,get, descriptive, statistics, of, pandas, dataframe,Python pandas dataframe,get, descriptive, statistics, of, pandas, dataframe,Pandas cheatsheet,get, descriptive, statistics, of, pandas, dataframe,Pandas dataframe tutorial,get, descriptive, statistics, of, pandas, dataframe
How to delete duplicates from a Pandas DataFrame? Data Munging,delete, duplicates, pandas, dataframe,Python pandas dataframe,delete, duplicates, pandas, dataframe,Pandas cheatsheet,delete, duplicates, pandas, dataframe,Pandas dataframe tutorial,delete, duplicates, pandas, dataframe
How to create crosstabs from a Dictionary in Python? Data Munging,crosstabs, dictionary,Data cleaning python,crosstabs, dictionary
How to create a new column based on a condition in Python? Data Munging,new, column, based, on, condition,Data cleaning python,new, column, based, on, condition
How to insert a new column based on condition in Python? Data Munging,insert, new, column, based, on, condition,Data cleaning python,insert, new, column, based, on, condition
How to convert string variables into DateTime variables in Python? Data Munging,convert, string, variables, into, datetime, variables,Python pandas dataframe,convert, string, variables, into, datetime, variables,Python datetime,convert, string, variables, into, datetime, variables
How to convert string categorical variables into numerical variables using Label Encoder? Data Munging,convert, string, categorical, variables, into, numerical, variables, using, label, encoder,Python pandas dataframe,convert, string, categorical, variables, into, numerical, variables, using, label, encoder,Categorical variable examples,convert, string, categorical, variables, into, numerical, variables, using, label, encoder,L
How to convert string categorical variables into numerical variables in Python? Data Munging,convert, string, categorical, variables, into, numerical, variables,Python pandas dataframe,convert, string, categorical, variables, into, numerical, variables,Categorical variable examples,convert, string, categorical, variables, into, numerical, variables
How to convert categorical variables into numerical variables in Python? Data Munging,convert, categorical, variables, into, numerical, variables,Python pandas dataframe,convert, categorical, variables, into, numerical, variables,Categorical variable examples,convert, categorical, variables, into, numerical, variables
How to preprocess string data within a Pandas DataFrame? Data Munging,preprocess, string, data, within, pandas, dataframe,Python pandas dataframe,preprocess, string, data, within, pandas, dataframe,Pandas cheatsheet,preprocess, string, data, within, pandas, dataframe,Pandas dataframe tutorial,preprocess, string, data, within, pandas, dataframe
How to apply arithmatic operations on a Pandas DataFrame? Data Munging,apply, arithmatic, operations, on, pandas, dataframe,Python pandas dataframe,apply, arithmatic, operations, on, pandas, dataframe,Pandas cheatsheet,apply, arithmatic, operations, on, pandas, dataframe,Pandas dataframe tutorial,apply, arithmatic, operations, on, pandas, dataframe
How to assign a new column in a Pandas DataFrame? Data Munging,assign, new, column, pandas, dataframe,Python pandas dataframe,assign, new, column, pandas, dataframe,Pandas cheatsheet,assign, new, column, pandas, dataframe,Pandas dataframe tutorial,assign, new, column, pandas, dataframe,Pandas column,assign, new, column, pandas, dataframe
How to do Data Analysis in a Pandas DataFrame? Data Munging,do, data, analysis, pandas, dataframe,Python pandas dataframe,do, data, analysis, pandas, dataframe,Pandas cheatsheet,do, data, analysis, pandas, dataframe,Pandas dataframe tutorial,do, data, analysis, pandas, dataframe
How to apply functions in a Group in a Pandas DataFrame? Data Munging,apply, functions, group, pandas, dataframe,Python pandas dataframe,apply, functions, group, pandas, dataframe,Pandas cheatsheet,apply, functions, group, pandas, dataframe,Pandas dataframe tutorial,apply, functions, group, pandas, dataframe
How to deal with an Item in a List in Python? Data Munging,deal, with, item, list,Data cleaning python,deal, with, item, list
How to convert Strings to DateTimes in Python? Data Munging,convert, strings, datetimes,Python datetime,convert, strings, datetimes,Data cleaning python,convert, strings, datetimes
How to select DateTime within a range in Python? Data Munging,datetime, within, range,Python datetime,datetime, within, range,Data cleaning python,datetime, within, range
How to deal with Rolling Time Window in Python? Data Munging,deal, with, rolling, time, window,Data cleaning python,deal, with, rolling, time, window
How to introduce LAG time in Python? Data Munging,introduce, lag, time,Data cleaning python,introduce, lag, time
How to deal with missing values in a Timeseries in Python? Data Munging,deal, with, missing, values, timeseries,Pandas series,deal, with, missing, values, timeseries
How to encode Days of a week in Python? Data Munging,encode, days, of, week,Data cleaning python,encode, days, of, week
How to calculate difference between Dates in Python? Data Munging,calculate, difference, between, dates,Data cleaning python,calculate, difference, between, dates
How to split DateTime Data to create multiple feature in Python? Data Munging,split, datetime, data, multiple, feature,Python datetime,split, datetime, data, multiple, feature
How to standardise IRIS Data in Python? Data Munging,standardise, iris, data,Data cleaning python,standardise, iris, data
How to standardise features in Python? Data Munging,standardise, features,Data normalization,standardise, features
How to rescale features in Python? Data Munging,rescale, features,Data normalization,rescale, features
How to process categorical features in Python? Data Munging,process, categorical, features,Categorical variable examples,process, categorical, features
One hot Encoding with nominal categorical features in Python? Data Munging,one, hot, encoding, with, nominal, categorical, features,Onehot encoding,one, hot, encoding, with, nominal, categorical, features,Categorical variable examples,one, hot, encoding, with, nominal, categorical, features
One hot Encoding with multiple labels in Python? Data Munging,one, hot, encoding, with, multiple, labels,Onehot encoding,one, hot, encoding, with, multiple, labels
How to impute missing values with means in Python? Data Munging,impute, missing, values, with, means,Data cleaning python,impute, missing, values, with, means
How to deal with outliers in Python? Data Munging,deal, with, outliers,Data cleaning python,deal, with, outliers
How to deal with imbalance classes with upsampling in Python? Data Munging,deal, with, imbalance, classes, with, upsampling,Data cleaning python,deal, with, imbalance, classes, with, upsampling
How to deal with imbalance classes with downsampling in Python? Data Munging,deal, with, imbalance, classes, with, downsampling,Data cleaning python,deal, with, imbalance, classes, with, downsampling
How to encode ordinal categorical features in Python? Data Munging,encode, ordinal, categorical, features,Categorical variable examples,encode, ordinal, categorical, features
How to find outliers in Python? Data Munging,find, outliers
How to delete instances with missing values in Python? Data Munging,delete, instances, with, missing, values,Data cleaning python,delete, instances, with, missing, values
How to impute missing class labels using nearest neighbours in Python? Data Munging,impute, missing, class, labels, using, nearest, neighbours,Data cleaning python,impute, missing, class, labels, using, nearest, neighbours
How to impute missing class labels in Python? Data Munging,impute, missing, class, labels
How to convert Categorical features to Numerical Features in Python? Data Munging,convert, categorical, features, numerical, features,Categorical variable examples,convert, categorical, features, numerical, features
How to prepare a machine learning workflow in Python? Data Munging,prepare, machine, learning, workflow
How to Create simulated data for clustering in Python? Data Munging,simulated, data, for, clustering,Simulated data,simulated, data, for, clustering
How to Create simulated data for classification in Python? Data Munging,simulated, data, for, classification,Simulated data,simulated, data, for, classification
How to Create simulated data for regression in Python? Data Munging,simulated, data, for, regression,Python regression,simulated, data, for, regression,Simulated data,simulated, data, for, regression,Regression examples,simulated, data, for, regression
How to load sklearn Boston Housing data? Data Munging,load, sklearn, boston, housing, data,Sklearn datasets,load, sklearn, boston, housing, data
How to load features from a Dictionary in python? Data Munging,load, features, dictionary,Data cleaning python,load, features, dictionary
How to add and subtract between matrices? Data Munging,add, and, subtract, between, matrices,Data cleaning python,add, and, subtract, between, matrices
How to Divide each element of a matrix by a numerical value? Data Munging,divide, each, element, of, matrix, by, numerical, value,Python Matrix,divide, each, element, of, matrix, by, numerical, value
How to MULTIPLY numerical value to each element of a matrix? Data Munging,multiply, numerical, value, each, element, of, matrix,Python Matrix,multiply, numerical, value, each, element, of, matrix
How to SUBTRACT numerical value to each element of a matrix? Data Munging,subtract, numerical, value, each, element, of, matrix,Python Matrix,subtract, numerical, value, each, element, of, matrix
How to ADD numerical value to each element of a matrix? Data Munging,add, numerical, value, each, element, of, matrix,Python Matrix,add, numerical, value, each, element, of, matrix
How to calculate dot product of two vectors? Data Munging,calculate, dot, product, of, two, vectors,Data cleaning python,calculate, dot, product, of, two, vectors
How to find Maximum and Minimum values in a Matrix? Data Munging,find, maximum, and, minimum, values, matrix,Python Matrix,find, maximum, and, minimum, values, matrix
How to find the Rank of a Matrix? Data Munging,find, rank, of, matrix,Python Matrix,find, rank, of, matrix
How to Calculate Mean, Variance and Std of a Matrix or ndArray? Data Munging,calculate, mean,, variance, and, std, of, matrix, ndarray,Python Matrix,calculate, mean,, variance, and, std, of, matrix, ndarray
How to create RANDOM Numbers in Python? Data Munging,random, numbers,Data cleaning python,random, numbers
How to define WHILE Loop in Python? Data Munging,define, while, loop,Data cleaning python,define, while, loop
How to define FOR Loop in Python? Data Munging,define, for, loop,Data cleaning python,define, for, loop
How to find MIN, MAX in a Dictionary? Data Munging,find, min,, max, dictionary,Data cleaning python,find, min,, max, dictionary
How to deal with Dictionary Basics in Python? Data Munging,deal, with, dictionary, basics,Data cleaning python,deal, with, dictionary, basics
How to deal with Date & Time Basics in Python? Data Munging,deal, with, date, &, time, basics,Data cleaning python,deal, with, date, &, time, basics
How to Create and Delete a file in Python? Data Munging,and, delete, file,Data cleaning python,and, delete, file
How to convert STRING to DateTime in Python? Data Munging,convert, string, datetime,Python datetime,convert, string, datetime
How to use CONTINUE and BREAK statement within a loop in Python? Data Munging,use, continue, and, break, statement, within, loop,Data cleaning python,use, continue, and, break, statement, within, loop
How to do numerical operations in Python using Numpy? Data Munging,do, numerical, operations, using, numpy,Data cleaning python,do, numerical, operations, using, numpy
How to Flatten a Matrix? Data Munging,flatten, matrix,Python Matrix,flatten, matrix,Data cleaning python,flatten, matrix
How to Calculate Determinant of a Matrix or ndArray? Data Munging,calculate, determinant, of, matrix, ndarray,Python Matrix,calculate, determinant, of, matrix, ndarray,Data cleaning python,calculate, determinant, of, matrix, ndarray
How to calculate Diagonal of a Matrix? Data Munging,calculate, diagonal, of, matrix,Python Matrix,calculate, diagonal, of, matrix,Data cleaning python,calculate, diagonal, of, matrix
How to Calculate Trace of a Matrix? Data Munging,calculate, trace, of, matrix,Python Matrix,calculate, trace, of, matrix,Data cleaning python,calculate, trace, of, matrix
How to invert a matrix or nArray in Python? Data Munging,invert, matrix, narray,Python Matrix,invert, matrix, narray
How to convert a dictionary to a matrix or nArray in Python? Data Munging,convert, dictionary, matrix, narray,Python Matrix,convert, dictionary, matrix, narray,Data cleaning python,convert, dictionary, matrix, narray
How to reshape a Numpy array in Python? Data Munging,reshape, numpy, array,Data cleaning python,reshape, numpy, array,Python reshape,reshape, numpy, array
How to select elements from Numpy array in Python? Data Munging,elements, numpy, array,Data cleaning python,elements, numpy, array
How to create a sparse Matrix in Python? Data Munging,sparse, matrix,Python Matrix,sparse, matrix,Data cleaning python,sparse, matrix
How to Create a Vector or Matrix in Python? Data Munging,vector, matrix,Python Matrix,vector, matrix,Data cleaning python,vector, matrix
How to find correlations among feature variables in R? Machine Learning Recipes,correlations,feature variables, r
How to visualise regression analysis in R? Machine Learning Recipes,visualise, regression, regression analysis in r,Python regression,visualise, regression, regression analysis in r,Regression examples,visualise, regression, regression analysis in r
How to use auto encoder for unsupervised learning models? Machine Learning Recipes,auto encoder, unsupervised learning models, pytorch,Autoencoder,auto encoder, unsupervised learning models, pytorch
How to run a basic RNN model using Pytorch? Machine Learning Recipes,run basic RNN, RNN, RNN model, Pytorch,Pytorch,run basic RNN, RNN, RNN model, Pytorch,Pytorch model,run basic RNN, RNN, RNN model, Pytorch
How to save and reload a deep learning model in Pytorch? Machine Learning Recipes,Pytorch, Deep Learning, save models,Pytorch,Pytorch, Deep Learning, save models,Pytorch model,Pytorch, Deep Learning, save models
Stuck at work?
Can't find the recipe you are looking for. Let us know and we will find an expert to create the recipe for you. Click here
Companies using Recipes
20 developers from Tata Consultancy Services
14 developers from Infosys
11 developers from IBM
9 developers from Accenture
9 developers from Cognizant
7 developers from Capgemini
6 developers from Microsoft
6 developers from Tech Mahindra
6 developers from Wipro
4 developers from Societe Generale