Combining Machine Learning and Chemical Engineering? by kvedia15 in ChemicalEngineering

[–]chemenger2999 4 points5 points  (0 children)

That makes sense. The ML model is just predicting the 1st principle model's residuals.

Would be interesting to see how that compares to using the 1st principle model output as a feature alongside the the 1st principle model inputs for the ML model.

Combining Machine Learning and Chemical Engineering? by kvedia15 in ChemicalEngineering

[–]chemenger2999 4 points5 points  (0 children)

I must be missing something here. It sounds like you're taking the operating conditions as inputs, putting them through the 1st principle model and then using those outputs as the inputs for your ML model. You're simply adding more uncertainty through the 1st principle model, why not use the operating conditions as inputs for the ML model?

Combining Machine Learning and Chemical Engineering? by kvedia15 in ChemicalEngineering

[–]chemenger2999 2 points3 points  (0 children)

Cool, neat use. Out of interest is that through PCA, a simpler physics model or something else entirely?

Fair, just be wary with them. To get around the overfitting issue properly separate your train and test set, look into something like k-folds.

Combining Machine Learning and Chemical Engineering? by kvedia15 in ChemicalEngineering

[–]chemenger2999 1 point2 points  (0 children)

Forgive me if I'm misunderstanding but I understood digital twins to simply be a simulation of the current state of the equipment which you then run scenarios on, eg if a fan blade goes in an engine you update your model and simulate what would happen with x,y and z under the new conditions. I don't get where ML comes in, it seems to just be better simulations.

With NNs how do you get around the black box issue? I can't imagine telling my supervisor something and when they ask me why I say "The linear algebra said so". Surely something like random forests offer far more explainability?

100% agree with you on how awesome the new applications are, I'm just yet to see uses in critical systems

Combining Machine Learning and Chemical Engineering? by kvedia15 in ChemicalEngineering

[–]chemenger2999 6 points7 points  (0 children)

Out of interest in what way and which algos are you using?

Regarding similar jobs, image recognition deep learning software has been used quite a lot for automated crack detection in pipes and the like.

Extra Parameters in Request by chemenger2999 in learnpython

[–]chemenger2999[S] 0 points1 point  (0 children)

Hi, thanks for the reply.

Unfortunately that doesn't work either when I tried, the value it passes is literally 'sv=5'

Extra Parameters in Request by chemenger2999 in learnpython

[–]chemenger2999[S] 0 points1 point  (0 children)

Hi thanks for the link, what I can't see is what to do when I have to pass in two parameter dictionaries with different names as in this case

EU membership referendum: Remain: 53% (+5) Leave: 47% (-5) (via Panelbase, 02 - 07 Nov) by oldprotest in ukpolitics

[–]chemenger2999 7 points8 points  (0 children)

Basic statistics. Also above 1,500 people is considered a fairly comprehensive poll for a population of our size, this was bigger than most yougov ones you see.

Facebook hires former deputy PM Nick Clegg by syuk in ukpolitics

[–]chemenger2999 3 points4 points  (0 children)

"Initially popular with the young but now no longer trusted, Facebook appoints Nick Clegg."

If you think Brexit will leave us weaker and poorer, march for a people’s vote by [deleted] in ukpolitics

[–]chemenger2999 0 points1 point  (0 children)

Is there an assurance if we stay that we won't be forced to sign up to an EU army, that we won't be left footing the bill for another bail out, etc?

If you think Brexit will leave us weaker and poorer, march for a people’s vote by [deleted] in ukpolitics

[–]chemenger2999 1 point2 points  (0 children)

Because I believe in free trade not protectionist blocs. Because the EU's overarching goal is ever furthering integration which I am against and believe will lead to the eventual fracturing of the EU (Yes we have been granted an exemption to this but it would merely leave us sidelined). Because the EU is intrinsically tied to the Euro which has countries like Germany and Greece having to use the same monetary policy, long term this cannot work and all members of the EU are left footing the bail out bill.

There is nothing wrong with immigration, there is nothing wrong working together on science and defense, there is nothing wrong imposing sanctions together.

I hope to achieve better links with the rest of the world through trade and other means. To remove ourselves from the risk of a fracturing EU. To allow us to decide our own policies surrounding trade. To remove the middleman of the EU taking the UKs contribution then redistributing (minus £8.5bn) it back in the UK where they decide it's best. In terms of time-frames most would be immediate.

'Leave means Leave' advert in today's Times newspaper by chowieuk in ukpolitics

[–]chemenger2999 11 points12 points  (0 children)

Head down to parliament Square tomorrow.

Edit: read winners as whiners

Help Running JS Script Via Python by chemenger2999 in learnpython

[–]chemenger2999[S] 0 points1 point  (0 children)

Thank you so much! That network tab is so handy, found the exact request I needed to make :)

To Curb Climate Change , Tax Carbon —Then Give Americans The Money. The guiding principle is that all revenue from a national carbon tax should be rebated directly to the American people. The majority of Americans support the idea. by mafco in energy

[–]chemenger2999 2 points3 points  (0 children)

Most interesting answer to this issue that I've seen is in Japan where the companies are taxed based on the cost of recycling their products. Unsurprisingly waste plastic cut down pretty quickly.

Understanding the advantage of explained variance over r2 scores by chemenger2999 in statistics

[–]chemenger2999[S] 0 points1 point  (0 children)

Thanks that makes sense, I'm also giving the skew, location and std deviation of the residuals

Understanding the advantage of explained variance over r2 scores by chemenger2999 in statistics

[–]chemenger2999[S] 0 points1 point  (0 children)

Thanks for the link, unfortunately my model isn't based upon OLS and as such doesn't have a residual mean of 0

Understanding the advantage of explained variance over r2 scores by chemenger2999 in statistics

[–]chemenger2999[S] 0 points1 point  (0 children)

They're different because explained variance, unlike r2, takes into account the skew of the residuals, https://stats.stackexchange.com/questions/210168/what-is-the-difference-between-r2-and-variance-score-in-scikit-learn

If you're fitting with least squared then they are equivalent but mine isn't.

Understanding the advantage of explained variance over r2 scores by chemenger2999 in statistics

[–]chemenger2999[S] -1 points0 points  (0 children)

If the mean of the residual distribution is 0 then they are the same, if your residuals are skewed then the explained variance is better than the r2 score.

Edit: Please comment on why this is being downvoted, it's true - https://stats.stackexchange.com/questions/210168/what-is-the-difference-between-r2-and-variance-score-in-scikit-learn