sandbox with neo4j part 10

Overview

I tried sandbox with neo4j. movielens, I tried it. I made a recommendation.

For the time being, I recommend a movie with a good evaluation.

MATCH (u:User {id:21})
MATCH (u)-[r:RATING]->(m:Movie)
WITH u,
	avg(r.rating) AS average
MATCH (u)-[r:RATING]->(m:Movie)
WHERE r.rating > average
RETURN m.title, 
	r.rating
limit 5

python execution result

title        rating
Short Circuit (1986)   4.0
Rush Hour (1998)   3.5
Da Vinci Code, The (2006)   3.5
Never Say Never Again (1983)   5.0
Thunderball (1965)   4.5

that's all.

Recommended Posts

sandbox with neo4j part 10
neo4j sandbox part 5
neo4j sandbox part 15
neo4j sandbox part 16
neo4j sandbox part 11
Image processing with Python (Part 2)
Studying Python with freeCodeCamp part1
Bordering images with python Part 1
Studying Python with freeCodeCamp part2
neo4j sandbox part 13
neo4j sandbox part 15
neo4j sandbox part 16
neo4j sandbox part 11
sandbox with neo4j part 10
datetime part 1
numpy part 1
argparse part 1
numpy part 2
Image processing with Python (Part 1)
Solving Sudoku with Python (Part 2)
Image processing with Python (Part 3)
Scraping with Selenium + Python Part 2
Visualize Wikidata knowledge with Neo4j
neo4j sandbox part 5
neo4j sandbox part 13
neo4j sandbox part 15
neo4j sandbox part 16
neo4j sandbox part 11
sandbox with neo4j part 10
datetime part 1
numpy part 1
argparse part 1
numpy part 2
Test Driven Development with Django Part 3
Operate Nutanix with REST API Part 2
Playing handwritten numbers with python Part 1
Java with Visual Studio Code (Part 2)
Test Driven Development with Django Part 4
Play with a turtle with turtle graphics (Part 1)
Test Driven Development with Django Part 6
[Automation with python! ] Part 1: Setting file
[PyTorch Tutorial ⑤] Learning PyTorch with Examples (Part 2)
User program tracing with SystemTap Part 1
Test Driven Development with Django Part 2
User program tracing with SystemTap Part 2
[PyTorch Tutorial ⑤] Learning PyTorch with Examples (Part 1)
Automate simple tasks with Python Part0
Optimization learned with OR-Tools Part0 [Introduction]
[Automation with python! ] Part 2: File operation
Create github pages with lektor Part 1
Test Driven Development with Django Part 1
Test Driven Development with Django Part 5
How to authenticate with Django Part 2
Excel aggregation with Python pandas Part 1
How to authenticate with Django Part 3
GUI programming with kivy ~ Part 4 Various buttons ~
Creating an unknown Pokemon with StyleGAN2 [Part 1]
Predict power demand with machine learning Part 2
Play handwritten numbers with python Part 2 (identify)
FM modulation and demodulation with Python Part 3
Automate simple tasks with Python Part1 Scraping
Creating an unknown Pokemon with StyleGAN2 [Part 2]
100 Language Processing Knock with Python (Chapter 2, Part 2)
Working with Azure CosmosDB from Python Part.2
Excel aggregation with Python pandas Part 2 Variadic
100 Language Processing Knock with Python (Chapter 2, Part 1)
Manage deals with Trello + Google Colaboratory (Part 1)
I tried implementing DeepPose with PyTorch PartⅡ
FM modulation and demodulation with Python Part 2
Stock Price Forecast with TensorFlow (LSTM) ~ Stock Forecast Part 1 ~
[Part1] Scraping with Python → Organize to csv!
Kaggle Memorandum ~ NLP with Disaster Tweets Part 1 ~
Draw a graph with PyQtGraph Part 1-Drawing