Class ArtMarketAnalyzer
java.lang.Object
org.episteme.social.arts.ArtMarketAnalyzer
Models and analyzes art market activity, specifically focusing on auction prices,
artist performance metrics, and price prediction.
It uses historical auction data to generate artist profiles and calculate
market indices.
- Since:
- 1.0
- Version:
- 2.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordStatistical profile of an artist's performance in the auction market.static final recordRepresents a single auction sale record.static final recordResult of a price prediction analysis for a specific artwork. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidRecords a new auction sale in the internal database.analyzeArtist(String artistName) Generates a market performance profile for a specific artist based on recorded sales.calculateMarketIndices(int baseYear, int currentYear) Calculates market indices by comparing average prices over time.static List<ArtMarketAnalyzer.AuctionRecord> findComparables(String artist, int year, String medium, int maxResults) Finds previous auction sales that are comparable to a given work.predictPrice(String artist, int creationYear, String medium, double sizeSqCm) Predicts the potential auction price for an artwork based on artist performance, medium, age, and physical size.
-
Method Details
-
addAuctionRecord
Records a new auction sale in the internal database.- Parameters:
record- the auction record to add
-
analyzeArtist
Generates a market performance profile for a specific artist based on recorded sales.- Parameters:
artistName- the name of the artist to analyze- Returns:
- an ArtistMarketProfile containing statistical metrics
-
predictPrice
public static ArtMarketAnalyzer.PricePrediction predictPrice(String artist, int creationYear, String medium, double sizeSqCm) Predicts the potential auction price for an artwork based on artist performance, medium, age, and physical size.- Parameters:
artist- the name of the artistcreationYear- the year the work was createdmedium- the materials used (e.g., "oil", "watercolor")sizeSqCm- the surface area in square centimeters- Returns:
- a PricePrediction containing estimated value and confidence range
-
calculateMarketIndices
Calculates market indices by comparing average prices over time.- Parameters:
baseYear- the starting year for the index (value 100)currentYear- the year to evaluate- Returns:
- a map of market indices (e.g., "Overall Art Index")
-
findComparables
public static List<ArtMarketAnalyzer.AuctionRecord> findComparables(String artist, int year, String medium, int maxResults) Finds previous auction sales that are comparable to a given work.- Parameters:
artist- the name of the artistyear- the creation year (within a 10-year range)medium- the medium usedmaxResults- maximum number of records to return- Returns:
- a list of comparable AuctionRecords sorted by price
-