분류 전체보기 337

Precision, Recall, Term Frequency, TF, Inverse Document Frequency, IDF

Document : Data is stored as document that share similar traits are grouped into an index. User ↓ ⇢ search something Elasticsearch ↓ ⇢ retrieves relevant documents, then Elasticsearch presents them as search results Search Results Precision : The dots inside the white circle, the portion of the retrived data actually relevant to the search query. All the retrived results to be a perfect match to..

Structure of Elasticsearch, Node, Cluster, Document, Shard, Sharding, Primary shard, Replica shard

Customer → Server(1) ↓ ⇢ A customer serches for a product on my app ⇡ The request is sent to the server My shopping mall website(app) ↓↑ ⇢ It connected to a database which contains all my product data along with other data we're collecting from the app Database → Server(2) ↓ ⇡ looks up the product within the database ↓ ⇢ product info is sent back to the server Server(3) ↓ ⇢ product info can be r..

Keras-Preprocessing, One-hot encoding, Word Embedding , Modeling, Compile

Keras 1. Preprocessing from tensorflow.keras.preprocessing.text import Tokenizer t=Tokenizer() fit_text='The earth is an awesome place live' t.fit_on_texts([fit_text]) test_text='The earth is an great place live' sequences=t.texts_to_sequences([test_text])[0] sequences >>>[1, 2, 3, 4, 6, 7] t.word_index >>>{'an': 4, 'awesome': 5, 'earth': 2, 'is': 3, 'live': 7, 'place': 6, 'the': 1} Tokenizer.fi..