Categories
Ask Politics

[ Politics ] Open Question : Do you think President Trump will be successful in locating all of the guns Obama took from US citizens?

Categories
Ask Chemistry

[ Chemistry ] Open Question : Why does a candle float on water?

Categories
Ask

[ Singles & Dating ] Open Question : Clozapine…does it have to be started in hospital or can you do it at home?

Categories
Ask Polls & Surveys

[ Polls & Surveys ] Open Question : What do you want for Christmas this year?

Categories
Ask Law & Ethics

[ Law & Ethics ] Open Question : Can you be executed for shooting a police dog? The new laws say the K9’s get the same legal protection as their handlers.?

Categories
Angular Development Windows

How to publish/deploy an Angular universal project with SSR implemented on Windows Server?

We have been stuck in this problem. We are trying to publish Angular universal SSR(Server side rendering) project on to Windows server. Our backend/api’s are built on asp.net and they are deployed to windows server and they are working fine. Angular project without implementation of SSR, when deployed works fine. We embedded our angular SSR […]

Categories
Development

How Use Transpiled FlowJS or Typescript with Pure JS?

I have question regarding FlowJS or Typescript (which quite popular these days). While both do great job doing static type check, but not all project will be compatible with superset language. So, how do i use transpiled superset language (preferable CommonJS) in PURE JS. If you came from Java, this questions similar to Scala in […]

Categories
C++ Development

Can we have a C++ function with multiple return types? ( C++11 and above)

I am trying to write a generic function which takes input as uint8, uint16, uint32, uint64, …. and return the maximum value with datatype of largest element? For example: template < typename T, typename X> auto Max_Number ( T valueA, X valueB ){ if ( valueA > valueB ) return valueA; else return valueB; } […]

Categories
Development

How train model using videos that have diffrenet number of frames?

I designed 3D-CNN model using Keras in python. I extracted 40 frames from each video. Then the shape of input of 3D-CNN is (40,80,80, 3). However, the dataset contains videos that have different frames and my model works only on videos that have same number of frames. How I can design model and train it […]

Categories
Development

Building a RandomForest with caret

I was attempting to build a RandomForest model in caret following the steps here. Essentially, they set up the RandomForest, then the best mtry, then best maxnodes, then best number of trees. These steps make sense, but wouldn’t it be better to search the interaction of those three factors rather than one at a time? […]