일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- high level client
- aggs
- plugin
- Java
- matplotlib
- 차트
- 파이썬
- Test
- ELASTIC
- Python
- zip 암호화
- docker
- query
- TensorFlow
- zip 파일 암호화
- token filter test
- sort
- 900gle
- aggregation
- springboot
- Elasticsearch
- Mac
- analyzer test
- Kafka
- API
- MySQL
- license delete
- License
- flask
- licence delete curl
- Today
- Total
목록Python/RNN (4)
개발잡부
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/wwfwE/btrKcxlMReW/p8PHBv8gtaJR9Gkz9nSAl0/img.png)
import tensorflow as tf import tensorflow_text as text hypotheses = tf.ragged.constant([['captain', 'of', 'the', 'delta', 'flight'], ['the', '1990', 'transcript']]) references = tf.ragged.constant([['delta', 'air', 'lines', 'flight'], ['this', 'concludes', 'the', 'transcript']]) result = text.metrics.rouge_l(hypotheses, references) print('F-Measure: %s' % result.f_measure) print('P-Measure: %s' ..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/cM3bOJ/btrJ69s4PrD/ZKazzKFrt5B7kqWjEbcC7k/img.png)
VOCAB_SIZE = 1000 encoder = tf.keras.layers.TextVectorization( max_tokens=VOCAB_SIZE) encoder.adapt(train_dataset.map(lambda text, label: text)) import numpy as np import tensorflow_datasets as tfds import tensorflow as tf tfds.disable_progress_bar() import matplotlib.pyplot as plt def plot_graphs(history, metric): plt.plot(history.history[metric]) plt.plot(history.history['val_'+metric], '') p..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bfmNgV/btrGVln2pBv/FZNY8tl0zKM6dgFZgKg9sK/img.png)
conda 환경을 새로 만들고 싶지만 시간이 아까워서 900gle 의 환경을 사용. conda activate 900gle python -m pip install --upgrade pip Study.py import numpy as np import tensorflow_datasets as tfds import tensorflow as tf tfds.disable_progress_bar() "This version of TensorFlow Datasets requires TensorFlow " ImportError: This version of TensorFlow Datasets requires TensorFlow version >= 2.1.0; Detected an installation of vers..
conda create --name "tesla" python="3.7" - python=3.7 The following NEW packages will be INSTALLED: ca-certificates pkgs/main/osx-64::ca-certificates-2021.10.26-hecd8cb5_2 certifi pkgs/main/osx-64::certifi-2021.10.8-py37hecd8cb5_0 libcxx pkgs/main/osx-64::libcxx-12.0.0-h2f01273_0 libffi pkgs/main/osx-64::libffi-3.3-hb1e8313_2 ncurses pkgs/main/osx-64::ncurses-6.3-hca72f7f_2 openssl pkgs/main/osx..