Skip to content

Commit 5d1c50f

Browse files
authored
Merge pull request #666 from mindsdb/staging
Release 1.5.0
2 parents f14e68b + 353e379 commit 5d1c50f

File tree

150 files changed

+7252
-51562
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+7252
-51562
lines changed

.github/workflows/benchmark_check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Benchmark results check
1+
name: Benchmark Result Check Lightwood
22

33
on:
44
pull_request:

.github/workflows/doc_build.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
1-
name: Lightwood tests workflow
1+
name: Documentation Build Lightwood
22

33
on:
44
push:
55
branches:
6-
- stable
76
- staging
8-
pull_request:
9-
branches:
10-
- staging
11-
127
jobs:
138
doc_build:
149
runs-on: ubuntu-latest
@@ -27,8 +22,9 @@ jobs:
2722
sudo apt install pandoc
2823
python -m pip install --upgrade pip
2924
pip install --no-cache-dir -e .
30-
pip install install 'Sphinx==4.1.2' 'sphinx-autoapi==1.8.4' 'sphinx-autodoc-typehints==1.12.0' 'sphinx-code-include==1.1.1' 'sphinx-rtd-theme==0.5.2' 'sphinxcontrib-applehelp==1.0.2' 'sphinxcontrib-devhelp==1.0.2' 'sphinxcontrib-htmlhelp==2.0.0' 'sphinxcontrib-jsmath==1.0.1' 'sphinxcontrib-napoleon==0.7' 'sphinxcontrib-qthelp==1.0.3' 'sphinxcontrib-serializinghtml==1.1.5' autoapi nbsphinx myst_parser pandoc
25+
pip install install 'Sphinx==4.1.2' 'sphinx-autoapi==1.8.4' 'sphinx-autodoc-typehints==1.12.0' 'sphinx-code-include==1.1.1' 'sphinx-rtd-theme==0.5.2' 'sphinxcontrib-applehelp==1.0.2' 'sphinxcontrib-devhelp==1.0.2' 'sphinxcontrib-htmlhelp==2.0.0' 'sphinxcontrib-jsmath==1.0.1' 'sphinxcontrib-napoleon==0.7' 'sphinxcontrib-qthelp==1.0.3' 'sphinxcontrib-serializinghtml==1.1.5' autoapi nbsphinx myst_parser pandoc jupyter
3126
cd docssrc && make github
27+
find . -iname '*.ipynb' -exec jupyter nbconvert --to notebook --inplace --execute {} \;
3228
3329
- name: deploy docs
3430
uses: EndBug/add-and-commit@v7

.github/workflows/ligthtwood.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
name: Lightwood tests workflow
1+
name: Integration and Unit Tests Lightwood
22

33
on:
44
push:
55
pull_request:
66
branches:
77
- stable
8+
- staging
89

910
jobs:
1011
test:

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ We predominantly use PyTorch based approaches, but can support other models.
4545

4646
## Usage
4747

48-
We invite you to check out our [documentation](https://mindsdb.github.io/lightwood/) for specific guidelines and tutorials! Please stay tuned for updates and changes.
48+
We invite you to check out our [documentation](https://lightwood.io) for specific guidelines and tutorials! Please stay tuned for updates and changes.
4949

5050
### Quick use cases
5151
Lightwood works with `pandas.DataFrames`. Once a DataFrame is loaded, defined a "ProblemDefinition" via a dictionary. The only thing a user needs to specify is the name of the column to predict (via the key `target`).

docs/.buildinfo

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 9794b493587dab5db6871ea286abac67
3+
config: 9dfabd0e53d7fb001818b8d9add86228
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/CNAME

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lightwood.io
Loading
Loading
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Loading
Loading
Loading
Loading
Binary file not shown.
Binary file not shown.
Binary file not shown.

docs/_modules/api/dtype.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
99

10-
<title>api.dtype &mdash; lightwood 1.4.0 documentation</title>
10+
<title>api.dtype &mdash; lightwood 1.5.0 documentation</title>
1111

1212

1313

@@ -67,7 +67,7 @@
6767

6868

6969
<div class="version">
70-
1.4.0
70+
1.5.0
7171
</div>
7272

7373

docs/_modules/api/high_level.html

+15-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
99

10-
<title>api.high_level &mdash; lightwood 1.4.0 documentation</title>
10+
<title>api.high_level &mdash; lightwood 1.5.0 documentation</title>
1111

1212

1313

@@ -67,7 +67,7 @@
6767

6868

6969
<div class="version">
70-
1.4.0
70+
1.5.0
7171
</div>
7272

7373

@@ -340,6 +340,19 @@ <h1>Source code for api.high_level</h1><div class="highlight"><pre>
340340
<span class="n">spec</span><span class="o">.</span><span class="n">loader</span><span class="o">.</span><span class="n">exec_module</span><span class="p">(</span><span class="n">temp_module</span><span class="p">)</span>
341341

342342
<span class="k">return</span> <span class="n">temp_module</span>
343+
344+
345+
<div class="viewcode-block" id="predictor_from_json_ai"><a class="viewcode-back" href="../../api/high_level.html#api.high_level.predictor_from_json_ai">[docs]</a><span class="k">def</span> <span class="nf">predictor_from_json_ai</span><span class="p">(</span><span class="n">json_ai</span><span class="p">:</span> <span class="n">JsonAI</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">PredictorInterface</span><span class="p">:</span>
346+
<span class="sd">&quot;&quot;&quot;</span>
347+
<span class="sd"> Creates a ready-to-train ``Predictor`` object based on the details you specified inside your JsonAI.</span>
348+
349+
<span class="sd"> :param json_ai: A ``JsonAI`` object</span>
350+
351+
<span class="sd"> :returns: A lightwood ``Predictor`` object</span>
352+
<span class="sd"> &quot;&quot;&quot;</span> <span class="c1"># noqa</span>
353+
<span class="n">code</span> <span class="o">=</span> <span class="n">code_from_json_ai</span><span class="p">(</span><span class="n">json_ai</span><span class="p">)</span>
354+
<span class="n">predictor</span> <span class="o">=</span> <span class="n">predictor_from_code</span><span class="p">(</span><span class="n">code</span><span class="p">)</span>
355+
<span class="k">return</span> <span class="n">predictor</span></div>
343356
</pre></div>
344357

345358
</div>

0 commit comments

Comments
 (0)