model • Your model implement an algorithm • The model study • Patterns on your data • Inference on your data • Use those patterns to perform a task with no instructions
type of model will it be • Fit - Capture patterns from provided data • Predict - Just what it sounds like • Evaluate - Determine how accurate the model's predictions are.
Select several columns from the dataset as variable X • Select one column of the data set that we want to predict • Called Prediction Target - Marked as Y • Predict patterns and according to them give results on new data
Blocking IO + Event Loop • Constant amour of threads • CPU Intensive operation will block the event loop • CPU intensive operation that will be off loaded to the worker thread pool will make one of the threads busy for long
specific hardware • Bounded amount of CPU • Usually , each process will be mapped to a CPU • Multiple requests to your server - many processes • Will not scale
of threads to execute JavaScript in Parallel • One process, Multiple threads, one event loop per thread, One JS engine per thread, one Node.js instance per thread