File size: 2,310 Bytes
e4f1db2
7bbab39
e4f1db2
 
 
 
 
 
 
7bbab39
e4f1db2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
title: Medical AI Wiki
emoji: 🔬
colorFrom: blue
colorTo: purple
sdk: docker
app_port: 3001
---

# Medical AI Wiki

A web application that helps users explore AI algorithms used in medical research papers from PubMed.

## Features

- **Dashboard**: View statistics and trends of AI algorithms used in medical papers
- **Algorithm Search**: Search for specific medical problems and see which algorithms are most commonly used
- **Interactive Charts**: Visual representation of algorithm usage and distribution
- **PubMed Integration**: Direct links to relevant papers on PubMed
- **Editable Algorithm Database**: JSON-based configuration for easy algorithm management

## Tech Stack

- **Frontend**: React + TypeScript + Vite + Tailwind CSS
- **Backend**: Node.js + Express
- **Charts**: Recharts
- **API**: PubMed E-utilities
- **Icons**: Lucide React

## Installation

1. Install dependencies for all parts:
```bash
npm run install:all
```

2. Start the development server:
```bash
npm run dev
```

This will start both the backend (port 3001) and frontend (port 3000) concurrently.

## Usage

1. **Dashboard**: Visit the homepage to see overall statistics of AI algorithms in medical research
2. **Search**: Use the search page to find algorithms used for specific medical problems
3. **Algorithm Management**: Edit `/data/algorithms.json` to add, remove, or modify algorithms and their synonyms

## Algorithm Configuration

The algorithms are configured in `/data/algorithms.json`. Each algorithm has:
- `name`: Display name
- `category`: Either "classical_ml" or "deep_learning"
- `description`: Brief description of the algorithm
- `synonyms`: Array of terms used to search PubMed (includes variations, abbreviations, etc.)

## API Endpoints

- `GET /api/algorithms` - Get all algorithms
- `PUT /api/algorithms` - Update algorithms configuration
- `GET /api/search/dashboard-stats` - Get dashboard statistics
- `POST /api/search/problem` - Search algorithms for a specific problem
- `GET /api/search/pubmed-link` - Generate PubMed search URL
- `GET /api/pubmed/search` - Search PubMed papers
- `GET /api/pubmed/paper/:pmid` - Get specific paper details

## Development

- Backend runs on port 3001
- Frontend runs on port 3000 with proxy to backend
- Hot reload enabled for both frontend and backend