- Name: Ch. M. Hashim
- Organisation: Python Software Foundation
- Sub-Organisation: DFFML - DataFlow Facilitator for Machine Learning
- Project: Enhancing User Experience with Notebook Examples for Machine Learning Use Cases.
- Proposal: https://blogs.python-gsoc.org/media/proposals/GSoC_2021_DFFML_Project_Proposal1.pdf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Checking whether there is an H2O instance running at http://localhost:54321 ..... not found. | |
Attempting to start a local H2O server... | |
Java Version: openjdk version "1.8.0_342"; OpenJDK Runtime Environment (build 1.8.0_342-8u342-b07-0ubuntu1~20.04-b07); OpenJDK 64-Bit Server VM (build 25.342-b07, mixed mode) | |
Starting server from /home/hash1m/miniconda3/envs/zen_ml/lib/python3.7/site-packages/h2o/backend/bin/h2o.jar | |
Ice root: /tmp/tmpjslvnzy5 | |
JVM stdout: /tmp/tmpjslvnzy5/h2o_hash1m_started_from_python.out | |
JVM stderr: /tmp/tmpjslvnzy5/h2o_hash1m_started_from_python.err | |
Server is running at http://127.0.0.1:54321 | |
Connecting to H2O server at http://127.0.0.1:54321 ... successful. | |
-------------------------- ----------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Computer Information: | |
Manufacturer: HP | |
Model: 87AD | |
Form Factor: Laptop | |
No Touch Input Detected | |
Processor Information: | |
CPU Vendor: GenuineIntel | |
CPU Brand: Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz | |
CPU Family: 0x6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(base) hash1m@hash1m-ThinkPad-W520:~/dffml$ python3 setup.py test -s model.daal4py.tests.test_lr | |
running test | |
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. | |
running egg_info | |
writing dffml.egg-info/PKG-INFO | |
writing dependency_links to dffml.egg-info/dependency_links.txt | |
writing entry points to dffml.egg-info/entry_points.txt | |
writing requirements to dffml.egg-info/requires.txt | |
writing top-level names to dffml.egg-info/top_level.txt | |
reading manifest file 'dffml.egg-info/SOURCES.txt' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running setup.py develop for dffml-model-transformers | |
Running setup.py install for vowpalwabbit ... error | |
ERROR: Command errored out with exit status 1: | |
command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-o0wkc_1q/vowpalwabbit/setup.py'"'"'; __file__='"'"'/tmp/pip-install-o0wkc_1q/vowpalwabbit/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-1ckqz98g/install-record.txt --single-version-externally-managed --prefix /usr/src/dffml/.venv/.local --compile --install-headers /usr/src/dffml/.venv/.local/include/python3.7m/vowpalwabbit | |
cwd: /tmp/pip-install-o0wkc_1q/vowpalwabbit/ | |
Complete output (30 lines): | |
running install | |
running build | |
running build_py | |
creating build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo docker run --rm -ti -u $(id -u):$(id -g) -e LOGGING=debug -e USER=$USER -v $HOME/.cache/pip:/home/$USER/.cache/pip -w /usr/src/dffml -v $PWD:/usr/src/dffml -w /usr/src/dffml --entrypoint .ci/docker-entrypoint.sh python:3.7 . | |
[sudo] password for hashim: | |
+ '[' x '!=' x ']' | |
+ PYTHON=python3 | |
+ '[' xhashim == x ']' | |
+ echo '#!/usr/bin/env bash' | |
+ chmod 755 /tmp/cmd.sh | |
++ mktemp -d | |
+ export VIRTUAL_ENV_DIR=/tmp/tmp.loEROIs6F3 | |
+ VIRTUAL_ENV_DIR=/tmp/tmp.loEROIs6F3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hashim@hashim-ThinkPad-W520:~/dffml$ sudo docker run --rm -ti -u $(id -u):$(id -g) -e LOGGING=debug -e USER=$USER -v $HOME/.cache/pip:/home/$USER/.cache/pip -w /usr/src/dffml -v $PWD:/usr/src/dffml -w /usr/src/dffml --entrypoint .ci/docker-entrypoint.sh python:3.7 . | |
+ '[' x '!=' x ']' | |
+ PYTHON=python3 | |
+ '[' xhashim == x ']' | |
+ echo '#!/usr/bin/env bash' | |
+ chmod 755 /tmp/cmd.sh | |
++ mktemp -d | |
+ export VIRTUAL_ENV_DIR=/tmp/tmp.AwnbGcW8bL | |
+ VIRTUAL_ENV_DIR=/tmp/tmp.AwnbGcW8bL | |
+ python3 -m venv /tmp/tmp.AwnbGcW8bL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
examplefile, database_name = tempfile.mkstemp(prefix="example", suffix=".db") | |
os.close(examplefile) | |
sdb = SqliteDatabase(SqliteDatabaseConfig(filename=database_name)) | |
dataflow = DataFlow( | |
operations={ | |
"db_query_create": db_query_create_table.op, | |
"db_query_insert": db_query_insert.op, | |
"db_query_update": db_query_update.op, | |
"db_query_lookup": db_query_lookup.op, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from dffml import Features, DefFeature | |
from dffml.noasync import train, accuracy, predict | |
from dffml_model_scikit import LinearRegressionModel | |
def highLevelApi_example(feature_def, pred_feature_def, train_data, accuracy_data, prediction_data): | |
""" | |
.. doctest:: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hashim@hashim-ThinkPad-W520:~/dffml$ ./scripts/doctest.sh | |
Running Sphinx v2.4.3 | |
making output directory... done | |
WARNING: html_static_path entry '_static' does not exist | |
loading intersphinx inventory from https://docs.python.org/3/objects.inv... | |
building [mo]: targets for 0 po files that are out of date | |
building [doctest]: targets for 57 source files that are out of date | |
updating environment: [new config] 57 added, 0 changed, 0 removed | |
/home/hashim/.local/lib/python3.7/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document | |
warn("Container node skipped: type={0}".format(mdnode.t)) |
NewerOlder