Skip to content

Commit 33c06bf

Browse files
committed
Add readme
1 parent 75f5295 commit 33c06bf

File tree

2 files changed

+89
-2
lines changed

2 files changed

+89
-2
lines changed

README.adoc

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
= skainet jupyter
2+
3+
[.lead]
4+
Empower your deep machine learning data science workflows with Kotlin's type safety and expressiveness in Jupyter notebooks.
5+
6+
== Overview
7+
8+
*skainet* is an open-source deep learning framework written in Kotlin, designed with developers in mind to enable the creation of modern AI-powered applications with ease. It seamlessly integrates with Jupyter notebooks, providing a powerful environment for interactive data analysis, machine learning experimentation, and model development.
9+
10+
== Features
11+
12+
* Full Kotlin language support in Jupyter notebooks
13+
* Interactive data visualization capabilities
14+
* Seamless integration with popular ML libraries
15+
* Type-safe data manipulation
16+
* Rich markdown and documentation support
17+
18+
== Using with Jupyter Notebook
19+
20+
=== Option 1: IntelliJ IDEA
21+
22+
You can create Kotlin notebooks directly in IntelliJ IDEA using one of these methods:
23+
24+
1. *Within a Project*:
25+
* Right-click on source root/folder in Project view
26+
* Select `New` → `Kotlin Notebook`
27+
28+
2. *Scratch Notebook*:
29+
* Press kbd:[Cmd+Shift+N] (macOS) or kbd:[Ctrl+Alt+Shift+Insert] (Windows/Linux)
30+
* Select `Kotlin Notebook`
31+
32+
3. *From Welcome Screen*:
33+
* Navigate to `Kotlin Notebooks` tab
34+
* Click `New Notebook`
35+
36+
=== Option 2: Jupyter Installation
37+
38+
1. *Install Jupyter and Kotlin Kernel*:
39+
+
40+
[source,bash]
41+
----
42+
$ pip install jupyter
43+
$ jupyter kernelspec install kotlin
44+
----
45+
46+
2. *Create a New Notebook*:
47+
+
48+
- Launch Jupyter: `jupyter notebook`
49+
- Select "New" → "Kotlin"
50+
51+
3. *Basic Usage*:
52+
+
53+
[source,kotlin]
54+
----
55+
// Import skainet libraries
56+
import ai.tribit.skainet.*
57+
58+
// Example code
59+
val data = DataFrame.readCsv("data.csv")
60+
data.head(5).show()
61+
----
62+
63+
Here’s a concise instruction snippet for setting up dependencies in Gradle KTS to consume your open-source project:
64+
65+
== Usage:
66+
67+
1. **Configure repository**
68+
Add the following to your project's `build.gradle.kts`:
69+
70+
```kotlin
71+
repositories {
72+
maven {
73+
url = uri("https://maven.pkg.github.com/sk-ai-net/skainet")
74+
credentials {
75+
username = providers.gradleProperty("gpr.user")
76+
.orElse(System.getenv("GITHUB_ACTOR"))
77+
.get()
78+
password = providers.gradleProperty("gpr.token")
79+
.orElse(System.getenv("GITHUB_TOKEN"))
80+
.get()
81+
}
82+
}
83+
}
84+
```
85+
86+
2. **Set GitHub credentials**
87+
Ensure you provide your GitHub username (`gpr.user`) and a personal access token (`gpr.token`) with package read permission.
88+
89+
https://docs.github.com/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry[See the official GitHub docs for more details]

README.md

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)