Ben Chuanlong Du's Blog

It is never too late to learn.

gRPC GraphQL and RESTful APIs

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

GraphQL harder (compared to RESTful and gRPC) to cache.

gRPC has the best performance

but not cannot be used for communication between frontend and backend directly, even thought it is doable …

Tree-Based Models in scikit-learn

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Comments

  1. If you want a simple decision tree,

DecisionTreeRegressor is prefer to DecisionTreeClassifier as DecisionTreeRegressor is more flexible.

As a matter of fact, ensemble tree-based models (no matter classifiers or regressors) are based on DecisionTreeRegressor instead of DecisionTreeClassifier .

Useful Rust Crates for Numeric Computation

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

num

num A collection of numeric types and traits for Rust, including bigint, complex, rational, range iterators, generic integers, and more!

num-derive

num-derive providess procedural macros to derive numeric traits in …

Tips on the Mojo Programming Language

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Check installed Python packages in Mojo notebook.

%%python
import os
os.system("pip list")

References

https://playground.modular.com/