Hi i want to use BrightWire to implement the following simple interface.
The problem is that the library is very strongly coupled with data source.
interface IBaseTrainableProbabilisticMulticategoryModel
{
//Construct with NumClasses and NumFeatures
int[] NumClasses { get; }
int NumFeatures { get; }
/// <summary>
/// Train a batch
/// </summary>
/// <param name="batchData"> [N,numfeatures]</param>
/// <param name="batchLabels"> [N,subclasses] = clas id</param>
/// <param name="weights"> [N,subclasses] = weight for subclass. used to balance classes. weights each data point contribution to the loss for each subclass</param>
/// <returns>Loss</returns>
float Train(float[][] batchData, int[][] batchLabels, float[][] weights);
/// <summary>
/// predict a batch
/// </summary>
/// <returns>[subclasses,N,probability distribution]</returns>
float[][][] Predict(float[][] batchData);
}
Is there a lower level api where i can implement a feed forward neural network model , that holds its state(weights) , can be serializable , and is always ready for training and prediction.
This is easily achievable with CNTK and Tenroflow. Their problem is that they only suppoort 64 bit.
Hi i want to use BrightWire to implement the following simple interface.
The problem is that the library is very strongly coupled with data source.
Is there a lower level api where i can implement a feed forward neural network model , that holds its state(weights) , can be serializable , and is always ready for training and prediction.
This is easily achievable with CNTK and Tenroflow. Their problem is that they only suppoort 64 bit.