Welcome!
hyperparameter tuning using Optuna with RandomForestClassifier Example (Python code) hyperparameter tuning using Optuna with RandomForestClassifier Example (Python code)
For some popular machine learning algorithms, how to set the hyper parameters could affect machine learning algorithm pe
2022-07-02
How to insert images in DataBricks notebook How to insert images in DataBricks notebook
Following steps show how to upload images to databricks filestore, and insert that path in the notebook cell. upload the
2022-06-22
How to plot mulitiple subplots of barplots using seaborn How to plot mulitiple subplots of barplots using seaborn
Sometimes we want to plot multiple barplots in subplots, this examples shows a nice way to do it. load sample dataimport
2022-05-15
How to use SentenceTransformer, a powerful and simple text embedding method based on transformer methods How to use SentenceTransformer, a powerful and simple text embedding method based on transformer methods
SentenceTransfomer is a Python framework developed based on Sentence-BERT that can generate high-quality embedding vecto
What is Web3? Its relationship with Web1, Web2 and metaverse What is Web3? Its relationship with Web1, Web2 and metaverse
The Internet has so far been in two phases: Web 1.0 and Web 2.0. The next phase, naturally, is Web 3.0 (Web3 for short).
2022-03-20
Good use of regular expression, remove spaces between punctuation and words, normalize texts automatically Good use of regular expression, remove spaces between punctuation and words, normalize texts automatically
Regular expression (shortened as regex) is very powerful way to improve efficiency and change formats for us.Here are ex
2022-03-19
Ten important Python libraries that Data Scientist must know Ten important Python libraries that Data Scientist must know
Good libraries are like useful toolbox, and learning these libraries can make you more productive, whether you’re a novi
2022-03-13
Convert arbitrary date to the date of  Monday or Sundy within the same week in Python Convert arbitrary date to the date of Monday or Sundy within the same week in Python
It is common practice to convert date to the week number for normalization or feature preprocessing. While this is prett
2022-02-22
A transformer example to maintain same feature order and add missing features back for feature engineering A transformer example to maintain same feature order and add missing features back for feature engineering
For data science projects, one important steps in feature engineering is to make sure the order of feature columns durin
2022-01-27
Convert short texts to numeric vectors with Character ngram tf-idf vectorizer using scikit learn in Python Convert short texts to numeric vectors with Character ngram tf-idf vectorizer using scikit learn in Python
When apply machine learning algorithms, to handel words or short texts, we usually need to get their numeric embedding v
Use Python to solve Linear Programming optimization problem Use Python to solve Linear Programming optimization problem
Let’s first define the standard format of linear programming problem,in which we will minimize the following equation$$
2021-12-29
Multi-class classification using simple deep learning structure in Pytorch with iris dataset Multi-class classification using simple deep learning structure in Pytorch with iris dataset
As one can see from the following example, it is very easy to apply deep learning structure in Pytorchto perform multi-c
26 / 28