Data Scientists often socialize with fellow Data Scientists. We collaborate, exchange ideas, and help each other to arrive at better solutions. This synergy helps us keep abreast of what is happening in Data Science World!
I had an opportunity to work with Dr. Rajiv Shah, adjunct Professor and Data Scientist, on one of his data science projects Taking an H2O Model to Production
In the Chicago Food Inspection Forecasting project, the number of days before an inspection has to be made was forecasted as 6.55 days with GLM and Random Forest predictive models. I developed a model using XGBoost algorithm and arrived at 7.79 days - an improvement of 1.24 days (19%).
Refer to the pull request of this model made into The City of Chicago’s GitHub repository.
While working on structural steel drawings in AutoCAD, I often needed to calculate the total weight of materials—a task that was time-consuming and error-prone when done manually, especially during design revisions.
To address this, I developed an AutoLISP routine called WWT.LSP (window weight total). It allowed users to select numeric values either individually or through a window and automatically summed all real and integer numbers from the selected entities.
This simple utility significantly improved efficiency and accuracy, turning a repetitive manual process into a quick and reliable operation within the CAD workflow.
In dual-unit AutoCAD drawings, presenting dimensions in both metric and imperial units often required repetitive manual conversion and formatting, which could lead to inconsistencies.
To address this, I created three short AutoLISP routines. MMIN.LSP converts millimeter dimensions to inches and appends the result in parentheses beside the original value, while INMM.LSP performs the reverse conversion. A third routine, TTRM.LSP, reformats dual dimensions by separating them onto two lines, placing one above the other for improved readability.
The TTRM routine assumes standard dimension settings—DIMSCALE aligned with the drawing scale, DIMTXT set to 2.5, and a text style with zero height—ensuring consistent and clean presentation across drawings.
