pabfer

Results 4 issues of pabfer

**Describe the bug** If batch_size for MinibatchInferenceLoop is larger than the dataset size, [this line](https://github.com/amzn/MXFusion/blob/master/mxfusion/inference/minibatch_loop.py#L95) throws due to division by zero. **Expected behavior** Possible mitigations are: - Option No. 1:...

bug
Easy

**Describe the bug** When passing [Variables of type PARAMETER](https://github.com/amzn/MXFusion/blob/master/mxfusion/components/variables/variable.py#L36) as ['constants' argument to the constructor of Inference](https://github.com/amzn/MXFusion/blob/master/mxfusion/inference/inference.py#L50) (or child classes), [this line](https://github.com/amzn/MXFusion/blob/master/mxfusion/inference/inference_alg.py#L80) throws during the execution of Inference's __run__ method...

bug

**Describe the bug** If a kernel Variable is of [CONSTANT type](https://github.com/amzn/MXFusion/blob/master/mxfusion/components/variables/variable.py#L29), fetch_parameters throws [here](https://github.com/amzn/MXFusion/blob/master/mxfusion/components/distributions/gp/kernels/kernel.py#L245) since CONSTANT Variables do not make it to [params input argument](https://github.com/amzn/MXFusion/blob/master/mxfusion/components/distributions/gp/kernels/kernel.py#L232). **Expected behavior** Execution does not...

bug

**Describe the bug** Default 'name' of MultiplyKernel class is ['add'](https://github.com/amzn/MXFusion/blob/master/mxfusion/components/distributions/gp/kernels/multiply_kernel.py#L33). It should read 'mul' for consistency with [__mul__ method of Kernel class](https://github.com/amzn/MXFusion/blob/master/mxfusion/components/distributions/gp/kernels/kernel.py#L172).

bug
Easy