├── docs
├── static
│ ├── favicon.png
│ ├── navbar-brand-logo.jpg
│ └── font-awesome
│ │ └── fonts
│ │ ├── FontAwesome.otf
│ │ ├── fontawesome-webfont.eot
│ │ ├── fontawesome-webfont.ttf
│ │ ├── fontawesome-webfont.woff
│ │ └── fontawesome-webfont.woff2
├── .gitignore
├── content
│ ├── docs
│ │ ├── try-flink-ml
│ │ │ ├── java
│ │ │ │ └── _index.md
│ │ │ ├── python
│ │ │ │ └── _index.md
│ │ │ └── _index.md
│ │ ├── operators
│ │ │ ├── stats
│ │ │ │ └── _index.md
│ │ │ ├── clustering
│ │ │ │ └── _index.md
│ │ │ ├── evaluation
│ │ │ │ └── _index.md
│ │ │ ├── regression
│ │ │ │ └── _index.md
│ │ │ ├── classification
│ │ │ │ └── _index.md
│ │ │ ├── feature
│ │ │ │ └── _index.md
│ │ │ ├── recommendation
│ │ │ │ └── _index.md
│ │ │ └── _index.md
│ │ └── development
│ │ │ └── _index.md
│ └── versions.md
├── layouts
│ ├── shortcodes
│ │ ├── github_repo.html
│ │ ├── version.html
│ │ ├── scala_version.html
│ │ ├── center.html
│ │ ├── top.html
│ │ ├── stable.html
│ │ ├── unstable.html
│ │ ├── javadoc.html
│ │ ├── beta.html
│ │ ├── all_versions.html
│ │ ├── label.html
│ │ ├── query_state_warning.html
│ │ ├── gh_link.html
│ │ ├── selectable.html
│ │ ├── tab.html
│ │ └── img.html
│ └── partials
│ │ └── docs
│ │ ├── interpolate.html
│ │ ├── inject
│ │ ├── menu-before.html
│ │ └── head.html
│ │ ├── footer.html
│ │ ├── simple-title.html
│ │ ├── toc.html
│ │ ├── title.html
│ │ └── menu.html
└── assets
│ └── _fonts.scss
├── .gitmodules
├── NOTICE
├── CODE_OF_CONDUCT.md
├── .gitignore
├── .asf.yaml
├── flink-ml-lib
└── src
│ ├── main
│ ├── resources
│ │ └── org
│ │ │ └── apache
│ │ │ └── flink
│ │ │ └── ml
│ │ │ └── feature
│ │ │ └── stopwords
│ │ │ ├── README
│ │ │ ├── turkish.txt
│ │ │ ├── danish.txt
│ │ │ ├── dutch.txt
│ │ │ └── swedish.txt
│ └── java
│ │ └── org
│ │ └── apache
│ │ └── flink
│ │ └── ml
│ │ ├── feature
│ │ ├── lsh
│ │ │ ├── MinHashLSHParams.java
│ │ │ └── LSHModelParams.java
│ │ ├── standardscaler
│ │ │ ├── OnlineStandardScalerParams.java
│ │ │ └── OnlineStandardScalerModelParams.java
│ │ ├── idf
│ │ │ └── IDFModelParams.java
│ │ ├── tokenizer
│ │ │ └── TokenizerParams.java
│ │ ├── interaction
│ │ │ └── InteractionParams.java
│ │ ├── maxabsscaler
│ │ │ └── MaxAbsScalerParams.java
│ │ ├── stringindexer
│ │ │ ├── IndexToStringModelParams.java
│ │ │ └── StringIndexerModelParams.java
│ │ ├── kbinsdiscretizer
│ │ │ └── KBinsDiscretizerModelParams.java
│ │ ├── variancethresholdselector
│ │ │ └── VarianceThresholdSelectorModelParams.java
│ │ ├── univariatefeatureselector
│ │ │ └── UnivariateFeatureSelectorModelParams.java
│ │ ├── vectorindexer
│ │ │ └── VectorIndexerModelParams.java
│ │ └── featurehasher
│ │ │ └── FeatureHasherParams.java
│ │ ├── classification
│ │ └── knn
│ │ │ └── KnnParams.java
│ │ ├── regression
│ │ └── linearregression
│ │ │ └── LinearRegressionModelParams.java
│ │ └── stats
│ │ ├── anovatest
│ │ └── ANOVATestParams.java
│ │ ├── chisqtest
│ │ └── ChiSqTestParams.java
│ │ └── fvaluetest
│ │ └── FValueTestParams.java
│ └── test
│ └── resources
│ └── log4j2-test.properties
├── flink-ml-uber
└── src
│ └── main
│ └── resources
│ └── META-INF
│ ├── NOTICE
│ └── licenses
│ ├── LICENSE.blas
│ ├── LICENSE.JTransforms
│ └── LICENSE.JLargeArrays
├── flink-ml-python
├── README.md
├── docs
│ ├── _static
│ │ └── pyflink.css
│ ├── _templates
│ │ └── layout.html
│ ├── reference
│ │ ├── index.rst
│ │ └── pyflink.ml
│ │ │ ├── functions.rst
│ │ │ ├── index.rst
│ │ │ ├── wrapper.rst
│ │ │ └── window.rst
│ └── index.rst
├── pyflink
│ ├── ml
│ │ ├── stats
│ │ │ ├── __init__.py
│ │ │ └── tests
│ │ │ │ └── __init__.py
│ │ ├── util
│ │ │ └── __init__.py
│ │ ├── clustering
│ │ │ ├── __init__.py
│ │ │ └── tests
│ │ │ │ └── __init__.py
│ │ ├── common
│ │ │ └── __init__.py
│ │ ├── evaluation
│ │ │ ├── __init__.py
│ │ │ └── tests
│ │ │ │ └── __init__.py
│ │ ├── feature
│ │ │ ├── __init__.py
│ │ │ └── tests
│ │ │ │ └── __init__.py
│ │ ├── regression
│ │ │ ├── __init__.py
│ │ │ └── tests
│ │ │ │ └── __init__.py
│ │ ├── classification
│ │ │ ├── __init__.py
│ │ │ └── tests
│ │ │ │ └── __init__.py
│ │ ├── recommendation
│ │ │ ├── __init__.py
│ │ │ └── tests
│ │ │ │ └── __init__.py
│ │ ├── version.py
│ │ └── tests
│ │ │ └── __init__.py
│ └── examples
│ │ └── ml
│ │ ├── __init__.py
│ │ ├── stats
│ │ └── __init__.py
│ │ ├── clustering
│ │ └── __init__.py
│ │ ├── evaluation
│ │ └── __init__.py
│ │ ├── feature
│ │ └── __init__.py
│ │ ├── regression
│ │ └── __init__.py
│ │ ├── classification
│ │ └── __init__.py
│ │ └── tests
│ │ └── __init__.py
├── dev
│ └── dev-requirements.txt
├── MANIFEST.in
└── setup.cfg
├── flink-ml-core
└── src
│ └── main
│ └── java
│ └── org
│ └── apache
│ └── flink
│ └── ml
│ └── common
│ └── window
│ └── Windows.java
├── flink-ml-servable-core
└── src
│ └── main
│ └── java
│ └── org
│ └── apache
│ └── flink
│ └── ml
│ ├── servable
│ └── types
│ │ ├── DataType.java
│ │ ├── BasicType.java
│ │ ├── MatrixType.java
│ │ ├── VectorType.java
│ │ └── ScalarType.java
│ ├── util
│ └── JsonUtils.java
│ ├── linalg
│ ├── Matrix.java
│ └── Vectors.java
│ └── param
│ ├── IntParam.java
│ ├── StringParam.java
│ ├── BooleanParam.java
│ ├── LongArrayParam.java
│ ├── FloatArrayParam.java
│ ├── IntArrayParam.java
│ ├── DoubleArrayParam.java
│ ├── ParamValidator.java
│ └── StringArrayParam.java
├── flink-ml-iteration
└── flink-ml-iteration-common
│ └── src
│ ├── main
│ └── java
│ │ └── org
│ │ └── apache
│ │ └── flink
│ │ └── iteration
│ │ ├── IterationID.java
│ │ ├── operator
│ │ ├── allround
│ │ │ └── EpochAware.java
│ │ └── coordinator
│ │ │ └── SharedProgressAlignerListener.java
│ │ ├── progresstrack
│ │ └── OperatorEpochWatermarkTrackerListener.java
│ │ ├── proxy
│ │ └── state
│ │ │ └── StateNamePrefix.java
│ │ ├── broadcast
│ │ └── BroadcastOutput.java
│ │ └── datacache
│ │ └── nonkeyed
│ │ └── SegmentReader.java
│ └── test
│ ├── resources
│ └── log4j2-test.properties
│ └── java
│ └── org
│ └── apache
│ └── flink
│ └── iteration
│ └── operator
│ └── allround
│ └── LifeCycle.java
├── flink-ml-benchmark
└── src
│ └── main
│ ├── resources
│ ├── dct-benchmark.json
│ ├── ngram-benchmark.json
│ ├── tokenizer-benchmark.json
│ ├── maxabsscaler-benchmark.json
│ ├── minmaxscaler-benchmark.json
│ ├── kmeans-benchmark.json
│ ├── naivebayes-benchmark.json
│ ├── onehotencoder-benchmark.json
│ ├── idf-benchmark.json
│ ├── normalizer-benchmark.json
│ ├── hashingtf-benchmark.json
│ ├── variancethresholdselector-benchmark.json
│ ├── countvectorizer-benchmark.json
│ ├── vectorslicer-benchmark.json
│ ├── regextokenizer-benchmark.json
│ ├── sqltransformer-benchmark.json
│ ├── polynoimalexpansion-benchmark.json
│ ├── standardscaler-benchmark.json
│ ├── kbinsdiscretizer-benchmark.json
│ ├── robustscaler-benchmark.json
│ ├── vectorindexer-benchmark.json
│ └── elementwiseproduct-benchmark.json
│ └── java
│ └── org
│ └── apache
│ └── flink
│ └── ml
│ └── benchmark
│ └── datagenerator
│ └── DataGenerator.java
├── flink-ml-tests
└── src
│ └── test
│ ├── java
│ └── org
│ │ └── apache
│ │ └── flink
│ │ └── test
│ │ └── iteration
│ │ └── operators
│ │ └── IncrementEpochMap.java
│ └── resources
│ └── log4j2-test.properties
├── tools
└── ci
│ └── controller_utils.sh
├── flink-ml-dist
└── src
│ └── main
│ └── flink-ml-bin
│ └── README.txt
└── flink-ml-servable-lib
└── src
└── main
└── java
└── org
└── apache
└── flink
└── ml
└── classification
└── logisticregression
└── LogisticRegressionModelParams.java
/docs/static/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/flink-ml/HEAD/docs/static/favicon.png
--------------------------------------------------------------------------------
/docs/static/navbar-brand-logo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/flink-ml/HEAD/docs/static/navbar-brand-logo.jpg
--------------------------------------------------------------------------------
/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "docs/themes/book"]
2 | path = docs/themes/book
3 | url = https://github.com/alex-shpak/hugo-book
4 |
--------------------------------------------------------------------------------
/docs/static/font-awesome/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/flink-ml/HEAD/docs/static/font-awesome/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/docs/static/font-awesome/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/flink-ml/HEAD/docs/static/font-awesome/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/docs/static/font-awesome/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/flink-ml/HEAD/docs/static/font-awesome/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/docs/static/font-awesome/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/flink-ml/HEAD/docs/static/font-awesome/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/docs/static/font-awesome/fonts/fontawesome-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/flink-ml/HEAD/docs/static/font-awesome/fonts/fontawesome-webfont.woff2
--------------------------------------------------------------------------------
/docs/.gitignore:
--------------------------------------------------------------------------------
1 | .bundle/
2 | .jekyll-metadata
3 | .jekyll-cache/
4 | .rubydeps/
5 | ruby2/.bundle/
6 | ruby2/.rubydeps/
7 | public/
8 | resources/
9 | .hugo_build.lock
10 | .DS_Store
11 |
--------------------------------------------------------------------------------
/NOTICE:
--------------------------------------------------------------------------------
1 | Apache Flink ML (flink-ml)
2 | Copyright 2014-2021 The Apache Software Foundation
3 |
4 | This product includes software developed at
5 | The Apache Software Foundation (http://www.apache.org/).
6 |
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Code of Conduct
2 |
3 | Apache Flink and all its associated repositories follow the [Code of Conduct of the Apache Software Foundation](https://www.apache.org/foundation/policies/conduct).
4 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .cache
2 | .classpath
3 | .idea
4 | .metadata
5 | .settings
6 | .project
7 | target
8 | .version.properties
9 | *.class
10 | *.iml
11 | *.swp
12 | *.jar
13 | *.zip
14 | *.log
15 | *.pyc
16 | .DS_Store
17 | *.ipr
18 | *.iws
19 | *.pyc
20 | .vscode
21 | flink-ml-python/dist/
22 | flink-ml-python/docs/_build
23 | flink-ml-python/apache_flink_ml.egg-info/
24 |
--------------------------------------------------------------------------------
/.asf.yaml:
--------------------------------------------------------------------------------
1 | github:
2 | enabled_merge_buttons:
3 | squash: true
4 | merge: false
5 | rebase: true
6 | collaborators:
7 | - flinkbot
8 | labels:
9 | - flink
10 | - machine-learning
11 | - ml
12 | - big-data
13 | - java
14 | - python
15 | notifications:
16 | commits: commits@flink.apache.org
17 | issues: issues@flink.apache.org
18 | pullrequests: issues@flink.apache.org
19 | jira_options: link label
20 |
--------------------------------------------------------------------------------
/flink-ml-lib/src/main/resources/org/apache/flink/ml/feature/stopwords/README:
--------------------------------------------------------------------------------
1 | Stopwords Corpus
2 |
3 | This corpus contains lists of stop words for several languages. These
4 | are high-frequency grammatical words which are usually ignored in text
5 | retrieval applications.
6 |
7 | They were obtained from:
8 | http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/snowball/stopwords/
9 |
10 | The English list has been augmented
11 | https://github.com/nltk/nltk_data/issues/22
12 |
13 |
--------------------------------------------------------------------------------
/flink-ml-lib/src/main/resources/org/apache/flink/ml/feature/stopwords/turkish.txt:
--------------------------------------------------------------------------------
1 | acaba
2 | ama
3 | aslında
4 | az
5 | bazı
6 | belki
7 | biri
8 | birkaç
9 | birşey
10 | biz
11 | bu
12 | çok
13 | çünkü
14 | da
15 | daha
16 | de
17 | defa
18 | diye
19 | eğer
20 | en
21 | gibi
22 | hem
23 | hep
24 | hepsi
25 | her
26 | hiç
27 | için
28 | ile
29 | ise
30 | kez
31 | ki
32 | kim
33 | mı
34 | mu
35 | mü
36 | nasıl
37 | ne
38 | neden
39 | nerde
40 | nerede
41 | nereye
42 | niçin
43 | niye
44 | o
45 | sanki
46 | şey
47 | siz
48 | şu
49 | tüm
50 | ve
51 | veya
52 | ya
53 | yani
--------------------------------------------------------------------------------
/flink-ml-uber/src/main/resources/META-INF/NOTICE:
--------------------------------------------------------------------------------
1 | flink-ml-uber
2 | Copyright 2014-2021 The Apache Software Foundation
3 |
4 | This product includes software developed at
5 | The Apache Software Foundation (http://www.apache.org/).
6 |
7 | This project bundles the following dependencies under the MIT license.
8 | See bundled license files for details.
9 |
10 | - dev.ludovic.netlib:blas:2.2.0
11 |
12 | This project bundles the following dependencies under the BSD license.
13 | See bundled license files for details.
14 |
15 | - com.github.wendykierp:JTransforms:3.1
16 | - pl.edu.icm:JLargeArrays:1.5
17 |
--------------------------------------------------------------------------------
/flink-ml-lib/src/main/resources/org/apache/flink/ml/feature/stopwords/danish.txt:
--------------------------------------------------------------------------------
1 | og
2 | i
3 | jeg
4 | det
5 | at
6 | en
7 | den
8 | til
9 | er
10 | som
11 | på
12 | de
13 | med
14 | han
15 | af
16 | for
17 | ikke
18 | der
19 | var
20 | mig
21 | sig
22 | men
23 | et
24 | har
25 | om
26 | vi
27 | min
28 | havde
29 | ham
30 | hun
31 | nu
32 | over
33 | da
34 | fra
35 | du
36 | ud
37 | sin
38 | dem
39 | os
40 | op
41 | man
42 | hans
43 | hvor
44 | eller
45 | hvad
46 | skal
47 | selv
48 | her
49 | alle
50 | vil
51 | blev
52 | kunne
53 | ind
54 | når
55 | være
56 | dog
57 | noget
58 | ville
59 | jo
60 | deres
61 | efter
62 | ned
63 | skulle
64 | denne
65 | end
66 | dette
67 | mit
68 | også
69 | under
70 | have
71 | dig
72 | anden
73 | hende
74 | mine
75 | alt
76 | meget
77 | sit
78 | sine
79 | vor
80 | mod
81 | disse
82 | hvis
83 | din
84 | nogle
85 | hos
86 | blive
87 | mange
88 | ad
89 | bliver
90 | hendes
91 | været
92 | thi
93 | jer
94 | sådan
--------------------------------------------------------------------------------
/docs/content/docs/try-flink-ml/java/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Java
3 | bookCollapseSection: true
4 | weight: 1
5 | ---
6 |
24 |
--------------------------------------------------------------------------------
/docs/content/docs/try-flink-ml/python/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Python
3 | bookCollapseSection: true
4 | weight: 1
5 | ---
6 |
24 |
--------------------------------------------------------------------------------
/flink-ml-python/README.md:
--------------------------------------------------------------------------------
1 | Flink ML is a library which provides machine learning (ML) APIs and infrastructures that simplify the building of ML pipelines. Users can implement ML algorithms with the standard ML APIs and further use these infrastructures to build ML pipelines for both training and inference jobs.
2 |
3 | Flink ML is developed under the umbrella of [Apache Flink](https://flink.apache.org/).
4 |
5 | ## Python Packaging
6 |
7 | Prerequisites for building apache-flink-ml:
8 |
9 | * Unix-like environment (we use Linux, Mac OS X)
10 | * Python version(3.7 or 3.8) is required
11 |
12 | Then go to the root directory of flink-ml-python source code and run this command to build the sdist package of apache-flink-ml:
13 | ```bash
14 | cd flink-ml-python; python setup.py sdist;
15 | ```
16 |
17 | The sdist package of apache-flink-ml will be found under ./flink-ml-python/dist/. It could be used for installation, such as:
18 | ```bash
19 | python -m pip install dist/*.tar.gz
20 | ```
21 |
--------------------------------------------------------------------------------
/docs/content/docs/operators/stats/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Stats
3 | bookCollapseSection: true
4 | weight: 1
5 | aliases:
6 | - /operators/stats/
7 | ---
8 |
26 |
--------------------------------------------------------------------------------
/docs/layouts/shortcodes/github_repo.html:
--------------------------------------------------------------------------------
1 | {{/*
2 | Licensed to the Apache Software Foundation (ASF) under one
3 | or more contributor license agreements. See the NOTICE file
4 | distributed with this work for additional information
5 | regarding copyright ownership. The ASF licenses this file
6 | to you under the Apache License, Version 2.0 (the
7 | "License"); you may not use this file except in compliance
8 | with the License. You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing,
13 | software distributed under the License is distributed on an
14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | KIND, either express or implied. See the License for the
16 | specific language governing permissions and limitations
17 | under the License.
18 | */}}{{/*
19 | Shortcode that interpolates the the full github repo
20 |
21 | Parmeters: None
22 | */}}{{- $.Site.Params.GithubRepo -}}
--------------------------------------------------------------------------------
/docs/layouts/shortcodes/version.html:
--------------------------------------------------------------------------------
1 | {{/*
2 | Licensed to the Apache Software Foundation (ASF) under one
3 | or more contributor license agreements. See the NOTICE file
4 | distributed with this work for additional information
5 | regarding copyright ownership. The ASF licenses this file
6 | to you under the Apache License, Version 2.0 (the
7 | "License"); you may not use this file except in compliance
8 | with the License. You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing,
13 | software distributed under the License is distributed on an
14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | KIND, either express or implied. See the License for the
16 | specific language governing permissions and limitations
17 | under the License.
18 | */}}{{/*
19 | Shortcode that interpolates the the full maven version (x.y.z)
20 |
21 | Parmeters: None
22 | */}}{{- $.Site.Params.Version -}}
--------------------------------------------------------------------------------
/docs/content/docs/operators/clustering/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Clustering
3 | bookCollapseSection: true
4 | weight: 1
5 | aliases:
6 | - /operators/clustering/
7 | ---
8 |
26 |
--------------------------------------------------------------------------------
/docs/content/docs/operators/evaluation/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Evaluation
3 | bookCollapseSection: true
4 | weight: 1
5 | aliases:
6 | - /operators/evaluation/
7 | ---
8 |
26 |
--------------------------------------------------------------------------------
/docs/content/docs/operators/regression/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Regression
3 | bookCollapseSection: true
4 | weight: 1
5 | aliases:
6 | - /operators/regression/
7 | ---
8 |
26 |
--------------------------------------------------------------------------------
/docs/content/docs/operators/classification/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Classification
3 | bookCollapseSection: true
4 | weight: 1
5 | aliases:
6 | - /operators/feature/
7 | ---
8 |
26 |
--------------------------------------------------------------------------------
/docs/content/docs/operators/feature/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Feature Engineering
3 | bookCollapseSection: true
4 | weight: 1
5 | aliases:
6 | - /operators/feature/
7 | ---
8 |
26 |
--------------------------------------------------------------------------------
/docs/layouts/shortcodes/scala_version.html:
--------------------------------------------------------------------------------
1 | {{/*
2 | Licensed to the Apache Software Foundation (ASF) under one
3 | or more contributor license agreements. See the NOTICE file
4 | distributed with this work for additional information
5 | regarding copyright ownership. The ASF licenses this file
6 | to you under the Apache License, Version 2.0 (the
7 | "License"); you may not use this file except in compliance
8 | with the License. You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing,
13 | software distributed under the License is distributed on an
14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | KIND, either express or implied. See the License for the
16 | specific language governing permissions and limitations
17 | under the License.
18 | */}}{{/*
19 | Shortcode for interpolating the scala version set in conf.toml
20 |
21 | Parmeters: None
22 | */}}{{- $.Site.Params.ScalaVersion -}}
--------------------------------------------------------------------------------
/docs/content/docs/operators/recommendation/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Recommendation
3 | bookCollapseSection: true
4 | weight: 1
5 | aliases:
6 | - /operators/recommendation/
7 | ---
8 |
26 |
--------------------------------------------------------------------------------
/docs/content/docs/operators/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Operators
3 | icon:
4 | bold: true
5 | bookCollapseSection: true
6 | weight: 3
7 | ---
8 |
26 |
--------------------------------------------------------------------------------
/docs/layouts/shortcodes/center.html:
--------------------------------------------------------------------------------
1 | {{/*
2 | Licensed to the Apache Software Foundation (ASF) under one
3 | or more contributor license agreements. See the NOTICE file
4 | distributed with this work for additional information
5 | regarding copyright ownership. The ASF licenses this file
6 | to you under the Apache License, Version 2.0 (the
7 | "License"); you may not use this file except in compliance
8 | with the License. You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing,
13 | software distributed under the License is distributed on an
14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | KIND, either express or implied. See the License for the
16 | specific language governing permissions and limitations
17 | under the License.
18 | */}}{{/*
19 | Shortcode for centering text
20 |
21 | Parmeters: markdown text
22 | */}}
23 |
24 | {{ .Inner | markdownify }}
25 |
--------------------------------------------------------------------------------
/docs/content/docs/try-flink-ml/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Try Flink ML
3 | icon:
4 | bold: true
5 | bookCollapseSection: true
6 | weight: 1
7 | ---
8 |
26 |
--------------------------------------------------------------------------------
/docs/layouts/shortcodes/top.html:
--------------------------------------------------------------------------------
1 | {{/*
2 | Licensed to the Apache Software Foundation (ASF) under one
3 | or more contributor license agreements. See the NOTICE file
4 | distributed with this work for additional information
5 | regarding copyright ownership. The ASF licenses this file
6 | to you under the Apache License, Version 2.0 (the
7 | "License"); you may not use this file except in compliance
8 | with the License. You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing,
13 | software distributed under the License is distributed on an
14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | KIND, either express or implied. See the License for the
16 | specific language governing permissions and limitations
17 | under the License.
18 | */}}{{/*
19 | Shortcode that adds a "Back to Top" link.
20 |
21 | Parmeters: None
22 | */}}
23 |
24 |
25 |
--------------------------------------------------------------------------------
/flink-ml-python/docs/_static/pyflink.css:
--------------------------------------------------------------------------------
1 | /*
2 | Licensed to the Apache Software Foundation (ASF) under one or more
3 | contributor license agreements. See the NOTICE file distributed with
4 | this work for additional information regarding copyright ownership.
5 | The ASF licenses this file to You under the Apache License, Version 2.0
6 | (the "License"); you may not use this file except in compliance with
7 | the License. You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing, software
12 | distributed under the License is distributed on an "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | See the License for the specific language governing permissions and
15 | limitations under the License.
16 | */
17 |
18 | div div.sphinxsidebar {
19 | width: 274px;
20 | }
21 |
22 | div div.bodywrapper {
23 | margin: 0 0 0 274px;
24 | }
25 |
26 | div div.body {
27 | max-width: none;
28 | }
29 |
--------------------------------------------------------------------------------
/flink-ml-python/pyflink/ml/stats/__init__.py:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | ################################################################################
18 |
--------------------------------------------------------------------------------
/flink-ml-python/pyflink/ml/util/__init__.py:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | ################################################################################
18 |
--------------------------------------------------------------------------------
/docs/layouts/shortcodes/stable.html:
--------------------------------------------------------------------------------
1 | {{/*
2 | Licensed to the Apache Software Foundation (ASF) under one
3 | or more contributor license agreements. See the NOTICE file
4 | distributed with this work for additional information
5 | regarding copyright ownership. The ASF licenses this file
6 | to you under the Apache License, Version 2.0 (the
7 | "License"); you may not use this file except in compliance
8 | with the License. You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing,
13 | software distributed under the License is distributed on an
14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | KIND, either express or implied. See the License for the
16 | specific language governing permissions and limitations
17 | under the License.
18 | */}}{{/*
19 | Shortcode that only renders its contents if the site
20 | is marked as stable.
21 |
22 | Parmeters: Markdown text
23 | */}}{{ if $.Site.Params.IsStable }}{{ .Inner | markdownify }}{{ end }}
--------------------------------------------------------------------------------
/flink-ml-python/pyflink/examples/ml/__init__.py:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | ################################################################################
18 |
--------------------------------------------------------------------------------
/flink-ml-python/pyflink/ml/clustering/__init__.py:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | ################################################################################
18 |
--------------------------------------------------------------------------------
/flink-ml-python/pyflink/ml/common/__init__.py:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | ################################################################################
18 |
--------------------------------------------------------------------------------
/flink-ml-python/pyflink/ml/evaluation/__init__.py:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | ################################################################################
18 |
--------------------------------------------------------------------------------
/flink-ml-python/pyflink/ml/feature/__init__.py:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | ################################################################################
18 |
--------------------------------------------------------------------------------
/flink-ml-python/pyflink/ml/regression/__init__.py:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | ################################################################################
18 |
--------------------------------------------------------------------------------
/docs/content/docs/development/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Development
3 | icon:
4 | bold: true
5 | sectionBreak: true
6 | bookCollapseSection: true
7 | weight: 2
8 | ---
9 |
27 |
--------------------------------------------------------------------------------
/flink-ml-python/pyflink/examples/ml/stats/__init__.py:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | ################################################################################
18 |
--------------------------------------------------------------------------------
/flink-ml-python/pyflink/ml/classification/__init__.py:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | ################################################################################
18 |
--------------------------------------------------------------------------------
/flink-ml-python/pyflink/ml/recommendation/__init__.py:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | ################################################################################
18 |
--------------------------------------------------------------------------------
/docs/layouts/shortcodes/unstable.html:
--------------------------------------------------------------------------------
1 | {{/*
2 | Licensed to the Apache Software Foundation (ASF) under one
3 | or more contributor license agreements. See the NOTICE file
4 | distributed with this work for additional information
5 | regarding copyright ownership. The ASF licenses this file
6 | to you under the Apache License, Version 2.0 (the
7 | "License"); you may not use this file except in compliance
8 | with the License. You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing,
13 | software distributed under the License is distributed on an
14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | KIND, either express or implied. See the License for the
16 | specific language governing permissions and limitations
17 | under the License.
18 | */}}{{/*
19 | Shortcode that only renders its contents if the site
20 | is not marked as stable.
21 |
22 | Parmeters: Markdown text
23 | */}}{{ if (not $.Site.Params.IsStable) }}{{ .Inner | markdownify }}{{ end }}
--------------------------------------------------------------------------------
/flink-ml-python/dev/dev-requirements.txt:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one or more
2 | # contributor license agreements. See the NOTICE file distributed with
3 | # this work for additional information regarding copyright ownership.
4 | # The ASF licenses this file to You under the Apache License, Version 2.0
5 | # (the "License"); you may not use this file except in compliance with
6 | # the License. You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | setuptools>=18.0
16 | wheel
17 | apache-flink==1.17.1
18 | pandas>=1.3.0,<1.4.0
19 | jsonpickle==2.0.0
20 | cloudpickle==2.2.0
21 | pytest==4.4.1
22 | flake8==4.0.1
23 | mypy==0.910
24 | numpy>=1.21.4,<1.22.0
--------------------------------------------------------------------------------
/flink-ml-python/pyflink/examples/ml/clustering/__init__.py:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | ################################################################################
18 |
--------------------------------------------------------------------------------
/flink-ml-python/pyflink/examples/ml/evaluation/__init__.py:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | ################################################################################
18 |
--------------------------------------------------------------------------------
/flink-ml-python/pyflink/examples/ml/feature/__init__.py:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | ################################################################################
18 |
--------------------------------------------------------------------------------
/flink-ml-python/pyflink/examples/ml/regression/__init__.py:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | ################################################################################
18 |
--------------------------------------------------------------------------------
/docs/assets/_fonts.scss:
--------------------------------------------------------------------------------
1 | // Licensed to the Apache Software Foundation (ASF) under one
2 | // or more contributor license agreements. See the NOTICE file
3 | // distributed with this work for additional information
4 | // regarding copyright ownership. The ASF licenses this file
5 | // to you under the Apache License, Version 2.0 (the
6 | // "License"); you may not use this file except in compliance
7 | // with the License. You may obtain a copy of the License at
8 | //
9 | // http://www.apache.org/licenses/LICENSE-2.0
10 | //
11 | // Unless required by applicable law or agreed to in writing,
12 | // software distributed under the License is distributed on an
13 | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 | // KIND, either express or implied. See the License for the
15 | // specific language governing permissions and limitations
16 | // under the License.
17 |
18 | body {
19 | font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
20 | font-size: 14px;
21 | }
22 |
23 | code {
24 | font-family: "Menlo", "Lucida Console", monospace;
25 | }
--------------------------------------------------------------------------------
/flink-ml-python/pyflink/examples/ml/classification/__init__.py:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | ################################################################################
18 |
--------------------------------------------------------------------------------
/docs/layouts/shortcodes/javadoc.html:
--------------------------------------------------------------------------------
1 | {{/*
2 | Licensed to the Apache Software Foundation (ASF) under one
3 | or more contributor license agreements. See the NOTICE file
4 | distributed with this work for additional information
5 | regarding copyright ownership. The ASF licenses this file
6 | to you under the Apache License, Version 2.0 (the
7 | "License"); you may not use this file except in compliance
8 | with the License. You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing,
13 | software distributed under the License is distributed on an
14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | KIND, either express or implied. See the License for the
16 | specific language governing permissions and limitations
17 | under the License.
18 | */}}{{/*
19 | Shortcode for linking to Flinks JavaDoc
20 |
21 | Parmeters:
22 | - name: The rendered link name (required)
23 | */}}
24 |
25 | {{ .Get "name" }}
26 |
--------------------------------------------------------------------------------
/docs/content/versions.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Versions
3 | type: docs
4 | bookToc: false
5 | ---
6 |
24 |
25 | # Versions
26 |
27 | An appendix of hosted documentation for all versions of Apache Flink Machine Learning Library.
28 |
29 | {{< all_versions >}}
30 |
--------------------------------------------------------------------------------
/flink-ml-python/docs/_templates/layout.html:
--------------------------------------------------------------------------------
1 |
19 | {% extends "!layout.html" %}
20 | {% block linktags %}
21 | {{ super() }}
22 |
23 |
24 | {% endblock %}
25 |
--------------------------------------------------------------------------------
/flink-ml-lib/src/main/resources/org/apache/flink/ml/feature/stopwords/dutch.txt:
--------------------------------------------------------------------------------
1 | de
2 | en
3 | van
4 | ik
5 | te
6 | dat
7 | die
8 | in
9 | een
10 | hij
11 | het
12 | niet
13 | zijn
14 | is
15 | was
16 | op
17 | aan
18 | met
19 | als
20 | voor
21 | had
22 | er
23 | maar
24 | om
25 | hem
26 | dan
27 | zou
28 | of
29 | wat
30 | mijn
31 | men
32 | dit
33 | zo
34 | door
35 | over
36 | ze
37 | zich
38 | bij
39 | ook
40 | tot
41 | je
42 | mij
43 | uit
44 | der
45 | daar
46 | haar
47 | naar
48 | heb
49 | hoe
50 | heeft
51 | hebben
52 | deze
53 | u
54 | want
55 | nog
56 | zal
57 | me
58 | zij
59 | nu
60 | ge
61 | geen
62 | omdat
63 | iets
64 | worden
65 | toch
66 | al
67 | waren
68 | veel
69 | meer
70 | doen
71 | toen
72 | moet
73 | ben
74 | zonder
75 | kan
76 | hun
77 | dus
78 | alles
79 | onder
80 | ja
81 | eens
82 | hier
83 | wie
84 | werd
85 | altijd
86 | doch
87 | wordt
88 | wezen
89 | kunnen
90 | ons
91 | zelf
92 | tegen
93 | na
94 | reeds
95 | wil
96 | kon
97 | niets
98 | uw
99 | iemand
100 | geweest
101 | andere
--------------------------------------------------------------------------------
/docs/layouts/partials/docs/interpolate.html:
--------------------------------------------------------------------------------
1 |
19 |
22 | {{ $str := replace . "$scala_version" site.Params.ScalaVersion }}
23 | {{ $str = replace $str "$version" site.Params.Version }}
24 | {{ return $str }}
--------------------------------------------------------------------------------
/flink-ml-core/src/main/java/org/apache/flink/ml/common/window/Windows.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.flink.ml.common.window;
20 |
21 | /** Windowing strategy that determines how to create mini-batches from input data. */
22 | public interface Windows {}
23 |
--------------------------------------------------------------------------------
/docs/layouts/partials/docs/inject/menu-before.html:
--------------------------------------------------------------------------------
1 |
19 |
22 |
23 |
24 |
25 |
v{{ $.Site.Params.Version }}
--------------------------------------------------------------------------------
/docs/layouts/partials/docs/inject/head.html:
--------------------------------------------------------------------------------
1 |
19 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/flink-ml-python/MANIFEST.in:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | ################################################################################
18 |
19 | global-exclude *.py[cod] __pycache__ .DS_Store
20 | include deps/lib/*.jar
21 | recursive-include deps/examples *.py
22 | include README.md
23 |
--------------------------------------------------------------------------------
/flink-ml-servable-core/src/main/java/org/apache/flink/ml/servable/types/DataType.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.flink.ml.servable.types;
20 |
21 | import org.apache.flink.annotation.PublicEvolving;
22 |
23 | /** This class describes the data type of a value. */
24 | @PublicEvolving
25 | public abstract class DataType {}
26 |
--------------------------------------------------------------------------------
/flink-ml-uber/src/main/resources/META-INF/licenses/LICENSE.blas:
--------------------------------------------------------------------------------
1 | Copyright 2020, 2021, Ludovic Henry
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19 | SOFTWARE.
20 |
--------------------------------------------------------------------------------
/docs/layouts/shortcodes/beta.html:
--------------------------------------------------------------------------------
1 | {{/*
2 | Licensed to the Apache Software Foundation (ASF) under one
3 | or more contributor license agreements. See the NOTICE file
4 | distributed with this work for additional information
5 | regarding copyright ownership. The ASF licenses this file
6 | to you under the Apache License, Version 2.0 (the
7 | "License"); you may not use this file except in compliance
8 | with the License. You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing,
13 | software distributed under the License is distributed on an
14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | KIND, either express or implied. See the License for the
16 | specific language governing permissions and limitations
17 | under the License.
18 | */}}{{/*
19 | Adds a warning that the current feature is in BETA.
20 | */}}
21 |
22 | This feature is currency marked as BETA and in an evolving state.
23 | As such, there are no guaruntees made about feature stability
24 | and breaking changes may occur in future Flink versions.
25 |
--------------------------------------------------------------------------------
/flink-ml-python/docs/reference/index.rst:
--------------------------------------------------------------------------------
1 | .. ################################################################################
2 | Licensed to the Apache Software Foundation (ASF) under one
3 | or more contributor license agreements. See the NOTICE file
4 | distributed with this work for additional information
5 | regarding copyright ownership. The ASF licenses this file
6 | to you under the Apache License, Version 2.0 (the
7 | "License"); you may not use this file except in compliance
8 | with the License. You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing, software
13 | distributed under the License is distributed on an "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | See the License for the specific language governing permissions and
16 | limitations under the License.
17 | ################################################################################
18 |
19 | =============
20 | API Reference
21 | =============
22 |
23 | .. toctree::
24 | :maxdepth: 2
25 |
26 | pyflink.ml/index
27 |
--------------------------------------------------------------------------------
/docs/layouts/shortcodes/all_versions.html:
--------------------------------------------------------------------------------
1 | {{/*
2 | Licensed to the Apache Software Foundation (ASF) under one
3 | or more contributor license agreements. See the NOTICE file
4 | distributed with this work for additional information
5 | regarding copyright ownership. The ASF licenses this file
6 | to you under the Apache License, Version 2.0 (the
7 | "License"); you may not use this file except in compliance
8 | with the License. You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing,
13 | software distributed under the License is distributed on an
14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | KIND, either express or implied. See the License for the
16 | specific language governing permissions and limitations
17 | under the License.
18 | */}}{{/*
19 | Generate a list of links to all previous
20 | versions of the Flink docs.
21 | */}}
22 |
23 | {{ range $docs := .Site.Params.PreviousDocs }}
24 |
--------------------------------------------------------------------------------
/docs/layouts/shortcodes/label.html:
--------------------------------------------------------------------------------
1 | {{/*
2 | Licensed to the Apache Software Foundation (ASF) under one
3 | or more contributor license agreements. See the NOTICE file
4 | distributed with this work for additional information
5 | regarding copyright ownership. The ASF licenses this file
6 | to you under the Apache License, Version 2.0 (the
7 | "License"); you may not use this file except in compliance
8 | with the License. You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing,
13 | software distributed under the License is distributed on an
14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | KIND, either express or implied. See the License for the
16 | specific language governing permissions and limitations
17 | under the License.
18 | */}}{{/*
19 | Shortcode for embedding an image.
20 | This is more powerful than plain markdown
21 | because we can configure the HTML image tag
22 | properties.
23 |
24 | Parmeters:
25 | - src: The absolute path to the image file (required)
26 | - alt: Image alt text (optional)
27 | - width: Image width (optional)
28 | */}}
29 | {{ .Get 0 }}
--------------------------------------------------------------------------------
/docs/layouts/shortcodes/query_state_warning.html:
--------------------------------------------------------------------------------
1 | {{/*
2 | Licensed to the Apache Software Foundation (ASF) under one
3 | or more contributor license agreements. See the NOTICE file
4 | distributed with this work for additional information
5 | regarding copyright ownership. The ASF licenses this file
6 | to you under the Apache License, Version 2.0 (the
7 | "License"); you may not use this file except in compliance
8 | with the License. You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing,
13 | software distributed under the License is distributed on an
14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | KIND, either express or implied. See the License for the
16 | specific language governing permissions and limitations
17 | under the License.
18 | */}}
19 | For streaming queries the required state to compute the query result might grow infinitely depending on the type of aggregation and the number of distinct grouping keys. Please provide a query configuration with valid retention interval to prevent excessive state size.
20 | See Query Configuration for details.
21 |
--------------------------------------------------------------------------------
/flink-ml-python/pyflink/ml/version.py:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | ################################################################################
18 |
19 | """
20 | The version will be consistent with the flink ml version and follow the PEP440.
21 | .. seealso:: https://www.python.org/dev/peps/pep-0440
22 | """
23 | __version__ = "2.4.dev0"
24 |
--------------------------------------------------------------------------------
/flink-ml-lib/src/main/java/org/apache/flink/ml/feature/lsh/MinHashLSHParams.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.flink.ml.feature.lsh;
20 |
21 | import org.apache.flink.ml.common.param.HasSeed;
22 |
23 | /**
24 | * Params for {@link MinHashLSH}.
25 | *
26 | * @param The class type of this instance.
27 | */
28 | public interface MinHashLSHParams extends LSHParams, HasSeed {}
29 |
--------------------------------------------------------------------------------
/flink-ml-lib/src/main/java/org/apache/flink/ml/classification/knn/KnnParams.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.flink.ml.classification.knn;
20 |
21 | import org.apache.flink.ml.common.param.HasLabelCol;
22 |
23 | /**
24 | * Params for {@link Knn}.
25 | *
26 | * @param The class type of this instance.
27 | */
28 | public interface KnnParams extends HasLabelCol, KnnModelParams {}
29 |
--------------------------------------------------------------------------------
/flink-ml-lib/src/main/resources/org/apache/flink/ml/feature/stopwords/swedish.txt:
--------------------------------------------------------------------------------
1 | och
2 | det
3 | att
4 | i
5 | en
6 | jag
7 | hon
8 | som
9 | han
10 | på
11 | den
12 | med
13 | var
14 | sig
15 | för
16 | så
17 | till
18 | är
19 | men
20 | ett
21 | om
22 | hade
23 | de
24 | av
25 | icke
26 | mig
27 | du
28 | henne
29 | då
30 | sin
31 | nu
32 | har
33 | inte
34 | hans
35 | honom
36 | skulle
37 | hennes
38 | där
39 | min
40 | man
41 | ej
42 | vid
43 | kunde
44 | något
45 | från
46 | ut
47 | när
48 | efter
49 | upp
50 | vi
51 | dem
52 | vara
53 | vad
54 | över
55 | än
56 | dig
57 | kan
58 | sina
59 | här
60 | ha
61 | mot
62 | alla
63 | under
64 | någon
65 | eller
66 | allt
67 | mycket
68 | sedan
69 | ju
70 | denna
71 | själv
72 | detta
73 | åt
74 | utan
75 | varit
76 | hur
77 | ingen
78 | mitt
79 | ni
80 | bli
81 | blev
82 | oss
83 | din
84 | dessa
85 | några
86 | deras
87 | blir
88 | mina
89 | samma
90 | vilken
91 | er
92 | sådan
93 | vår
94 | blivit
95 | dess
96 | inom
97 | mellan
98 | sådant
99 | varför
100 | varje
101 | vilka
102 | ditt
103 | vem
104 | vilket
105 | sitta
106 | sådana
107 | vart
108 | dina
109 | vars
110 | vårt
111 | våra
112 | ert
113 | era
114 | vilkas
--------------------------------------------------------------------------------
/docs/layouts/partials/docs/footer.html:
--------------------------------------------------------------------------------
1 |
19 |
22 | {{ if .IsPage }}
23 | {{ $folder := "content" }}
24 | {{ if eq "/zh" .Site.LanguagePrefix }}
25 | {{ $folder = "content.zh" }}
26 | {{ end }}
27 | Edit This Page
28 | {{ end }}
29 |
--------------------------------------------------------------------------------
/flink-ml-lib/src/main/java/org/apache/flink/ml/feature/standardscaler/OnlineStandardScalerParams.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.flink.ml.feature.standardscaler;
20 |
21 | import org.apache.flink.ml.common.param.HasWindows;
22 |
23 | /** Params for {@link OnlineStandardScaler}. */
24 | public interface OnlineStandardScalerParams
25 | extends HasWindows, OnlineStandardScalerModelParams {}
26 |
--------------------------------------------------------------------------------
/docs/layouts/shortcodes/gh_link.html:
--------------------------------------------------------------------------------
1 | {{/*
2 | Licensed to the Apache Software Foundation (ASF) under one
3 | or more contributor license agreements. See the NOTICE file
4 | distributed with this work for additional information
5 | regarding copyright ownership. The ASF licenses this file
6 | to you under the Apache License, Version 2.0 (the
7 | "License"); you may not use this file except in compliance
8 | with the License. You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing,
13 | software distributed under the License is distributed on an
14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | KIND, either express or implied. See the License for the
16 | specific language governing permissions and limitations
17 | under the License.
18 | */}}{{/*
19 | Shortcode for linking to a file in github. This shortcode
20 | will automatically discover the repo and correct branch.
21 |
22 | Parmeters:
23 | - file: The absolute path to the image file (required)
24 | - name: The rendered link name (required)
25 | */}}
26 |
27 | {{ .Get "name" | markdownify }}
28 |
29 |
30 |
--------------------------------------------------------------------------------
/docs/layouts/shortcodes/selectable.html:
--------------------------------------------------------------------------------
1 | {{/*
2 | Licensed to the Apache Software Foundation (ASF) under one
3 | or more contributor license agreements. See the NOTICE file
4 | distributed with this work for additional information
5 | regarding copyright ownership. The ASF licenses this file
6 | to you under the Apache License, Version 2.0 (the
7 | "License"); you may not use this file except in compliance
8 | with the License. You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing,
13 | software distributed under the License is distributed on an
14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 | KIND, either express or implied. See the License for the
16 | specific language governing permissions and limitations
17 | under the License.
18 | */}}{{/*
19 | Shortcode that automatically copies the content to the users
20 | clipboard.
21 | */}}
22 |
23 | {{ $hash := md5 now }}
24 |
25 |
26 | {{- .Inner | markdownify -}}
27 |
28 |
29 | Copied to clipboard!
30 |
31 |
--------------------------------------------------------------------------------
/flink-ml-python/docs/reference/pyflink.ml/functions.rst:
--------------------------------------------------------------------------------
1 | .. ################################################################################
2 | Licensed to the Apache Software Foundation (ASF) under one
3 | or more contributor license agreements. See the NOTICE file
4 | distributed with this work for additional information
5 | regarding copyright ownership. The ASF licenses this file
6 | to you under the Apache License, Version 2.0 (the
7 | "License"); you may not use this file except in compliance
8 | with the License. You may obtain a copy of the License at
9 |
10 | http://www.apache.org/licenses/LICENSE-2.0
11 |
12 | Unless required by applicable law or agreed to in writing, software
13 | distributed under the License is distributed on an "AS IS" BASIS,
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | See the License for the specific language governing permissions and
16 | limitations under the License.
17 | ################################################################################
18 |
19 | =========
20 | Functions
21 | =========
22 |
23 | .. currentmodule:: pyflink.ml.functions
24 |
25 | .. autosummary::
26 | :toctree: __tmp/
27 |
28 | vector_to_array
29 | array_to_vector
30 |
--------------------------------------------------------------------------------
/docs/layouts/partials/docs/simple-title.html:
--------------------------------------------------------------------------------
1 |
19 |
23 | {{ $title := "" }}
24 |
25 | {{ if .Title }}
26 | {{ $title = .Title }}
27 | {{ else if and .IsSection .File }}
28 | {{ $title = path.Base .File.Dir | humanize | title }}
29 | {{ else if and .IsPage .File }}
30 | {{ $title = .File.BaseFileName | humanize | title }}
31 | {{ end }}
32 |
33 | {{ return $title }}
--------------------------------------------------------------------------------
/docs/layouts/partials/docs/toc.html:
--------------------------------------------------------------------------------
1 |
19 | {{/*
20 | Generates the pages table of contents. Unfortunately, hugo does not give us a lot of flexibility
21 | around how the TOC is generated so we have to fall back to a regex to add the header.
22 | */}}
23 | {{ .TableOfContents | replaceRE "