Buckets:

soixantesept's picture
download
raw
641 Bytes
#pragma once
#include "OLS.hpp"
/**
* Scalar implementation of OLS for float precision
* Inherits from OLS<float> and overrides some methods for optimization
* Primary goal: order of operations need to match with that of the SSE2 code path for binary compatibility
* Secondary goal: it's still faster than the naive reference implementation due to better cache locality.
*/
class OLS_float_Scalar : public OLS<float>
{
public:
OLS_float_Scalar(size_t n, size_t solveInterval, float lambda, float nu);
float predict() override;
void update(float y) override;
protected:
bool factor() override;
void solve() override;
};

Xet Storage Details

Size:
641 Bytes
·
Xet hash:
1071bc1d7f04025d06d2ce6b96873905523376eaf412898798aebb112b6363cf

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.