<div class="section-label"><span class="num">01</span> Clients</div> <div class="section-title">Call the hosted engine from <em>Python</em>, <em>R</em>, or <em>MATLAB</em>.</div> These packages submit a prediction and wait until the forecast is ready. They do not install the engine on your machine. Set <span class="mono">CSA_API_KEY</span> and <span class="mono">CSA_ACCESS_ID</span> in the environment. Jobs go to `https://api.csanalytics.io/v3/rbp-engine`. Start with **Grid**. Use MaxFit when the attribute set is already fixed. Use PSR when the thresholds are already fixed too. What the methods mean: [[Functions/Overview|Functions]]. Option names: [[Settings/Options|Settings]]. <div class="pillars"> <div class="pillar"> <div class="pillar-num">↳ 01</div> <div class="pillar-title">Python</div> <div class="pillar-text">pip package. predict_grid is the first call. Large X is uploaded for you.</div> </div> <div class="pillar"> <div class="pillar-num">↳ 02</div> <div class="pillar-title">R</div> <div class="pillar-text">Package rbpengineapi. predict_grid, then predict_maxfit and predict_psr.</div> </div> <div class="pillar"> <div class="pillar-num">↳ 03</div> <div class="pillar-title">MATLAB</div> <div class="pillar-text">Package rbpengineapi. Download once, addpath, then predictGrid. Pass apiKey= if Desktop MATLAB does not see your environment.</div> </div> </div> <p>&nbsp;</p> <div class="section-label"><span class="num">02</span> In this section</div> <div class="solution-list"> <div class="solution-row"> <div class="solution-num">/01</div> <div class="solution-title"><a href="/API/Clients/Python">Python</a></div> <div class="solution-desc">Install, run Grid, read yhat. Then MaxFit, PSR, and larger jobs.</div> </div> <div class="solution-row"> <div class="solution-num">/02</div> <div class="solution-title"><a href="/API/Clients/R">R</a></div> <div class="solution-desc">Install from GitHub. Same methods with a named list of options.</div> </div> <div class="solution-row"> <div class="solution-num">/03</div> <div class="solution-title"><a href="/API/Clients/MATLAB">MATLAB</a></div> <div class="solution-desc">Download in MATLAB, addpath, then Grid. Same methods with a struct of options.</div> </div> </div> > [!tip] > First result: [[API/Clients/Python|Python]] and Grid. Calling HTTP yourself: [[API/Endpoints/Grid|Endpoints]]. <div class="btn-row center"> <a class="btn-primary" href="/API/Clients/Python">Python</a> <a class="btn-ghost" href="/API/Clients/R">R</a> <a class="btn-ghost" href="/API/Clients/MATLAB">MATLAB</a> </div>