Mike Chapman

1.8K posts

Mike Chapman

Mike Chapman

@Mike_B_Chapman

I’m merging accounts to here. My interests are #LightPollution #Astronomy #TroutFishing @[email protected]. #PancreaticCancer survivor - so far.

Armidale, New South Wales Katılım Temmuz 2011
259 Takip Edilen57 Takipçiler
Sabitlenmiş Tweet
Mike Chapman
Mike Chapman@Mike_B_Chapman·
I'm Giving It Up this September for pancreatic cancer research. rememberseptember.org.au/s/9905/11021/t Ok, so another fundraiser, this time for @PanKind_APCF I selected a smaller target of $500.00 I hope most of you aren't suffering from fundraising fatigue. I intend to cycle 68km.
English
1
0
3
338
Joachim Schork
Joachim Schork@JoachimSchork·
When using Polynomial Regression, choosing the right degree for the polynomial is crucial for balancing model complexity and performance. A polynomial that is too simple might miss important trends in the data, while one that is too complex can lead to overfitting. Here’s how to navigate this decision: ✔️ Start simple: Begin with a low degree (e.g., degree 2 or 3) and gradually increase, observing the model's performance on both training and validation data. ✔️ Cross-validation: Use k-fold cross-validation to assess how different polynomial degrees perform on unseen data. This helps reduce the risk of overfitting and ensures more generalizable results. ✔️ Look at residuals: Examine the residual plots. If the residuals show a clear pattern, you might need a higher degree polynomial. If they are randomly distributed around zero, your model is likely well-fitted. ✔️ Check for overfitting: If the training error is very low but the validation error is high, the model is likely overfitting, which can happen with a high-degree polynomial. When choosing the degree of your polynomial: ❌ Too low: A polynomial that is too low might miss important patterns in the data (underfitting). ❌ Too high: A polynomial that is too high can lead to overfitting, capturing noise in the data rather than the true underlying trend. ❌ Interpretability: Higher-degree polynomials make the model more complex and harder to interpret, especially for non-experts. How to implement in practice: 🔹 In R: Use poly() to fit polynomial terms in your model. Functions like cv.glm() (from the boot package) can be used for cross-validation to evaluate different polynomial degrees. 🔹 In Python: Use PolynomialFeatures from sklearn.preprocessing to create polynomial terms, and use GridSearchCV from sklearn.model_selection to optimize the degree through cross-validation. The graph demonstrates the impact of choosing different polynomial degrees in regression. Degree 1 (pink, dotted) underfits the data by failing to capture the true trend, while Degree 2 (blue, solid) provides the best fit to the quadratic nature of the data. In contrast, Degree 7 (orange, dashed) overfits by capturing noise, resulting in a complex and less generalizable model. Want to learn more? My Statistical Methods in R course covers topics like polynomial regression in more detail! Take a look here for more details: statisticsglobe.com/online-course-… #DataScientist #datasciencetraining #VisualAnalytics #pythonlearning #DataViz #Python #datastructure
Joachim Schork tweet media
English
7
8
89
2.5K
Mike Chapman retweetledi
Simon (@redfivemodels on Bluesky)
Simon (@redfivemodels on Bluesky)@RedFiveModels·
@WeHaveWaysPod model meet Wed 11th Feb. All welcome to chat all things WW2, model making and general craic. Beginners encouraged to pop along and ask the hive mind questions. Registration link in the thread below . I'll see you on the Beach.
Simon (@redfivemodels on Bluesky) tweet media
English
3
1
13
1.3K
Mike Chapman retweetledi
Peter Malinauskas
Peter Malinauskas@PMalinauskasMP·
What an incredible tribute from South Aussie farmer Harrison Schuster. Happy Australia Day everyone!
Peter Malinauskas tweet media
English
67
199
2.7K
295.4K
Mike Chapman retweetledi
James Melville 🚜
James Melville 🚜@JamesMelville·
Well said Sir Rod Stewart.
English
1.5K
3.4K
15.9K
882.6K
Mike Chapman
Mike Chapman@Mike_B_Chapman·
@bolderston_mark Can’t beat the styling. Except for. Xk120. Colour is very cool.i hope the headlights a safety requirement.
English
0
0
0
2
Saganism
Saganism@Saganismm·
Carl Sagan explains the fourth dimension with rare simplicity
English
10
295
1.4K
47K
Mike Chapman
Mike Chapman@Mike_B_Chapman·
@consequence I gave up May three years ago. I was told the next alcoholic might be my last ever. Sometimes I miss it mostly not. Difficult to replace in some social situations.
English
0
0
0
2
CONSEQUENCE
CONSEQUENCE@consequence·
Sir Anthony Hopkins is celebrating 50 years of sobriety today
English
1.4K
5.5K
47.8K
925.7K
Mike Chapman
Mike Chapman@Mike_B_Chapman·
@AdamWatkinson1 I think it’s good to develop skills using other scales and kit themes.
English
0
0
0
34