recommit
This commit is contained in:
parent
7bc893c15d
commit
9cb0709b75
28
.gitignore
vendored
28
.gitignore
vendored
@ -1,14 +1,14 @@
|
|||||||
# ---> VisualStudioCode
|
# ---> VisualStudioCode
|
||||||
.vscode/*
|
.vscode/*
|
||||||
!.vscode/settings.json
|
!.vscode/settings.json
|
||||||
!.vscode/tasks.json
|
!.vscode/tasks.json
|
||||||
!.vscode/launch.json
|
!.vscode/launch.json
|
||||||
!.vscode/extensions.json
|
!.vscode/extensions.json
|
||||||
!.vscode/*.code-snippets
|
!.vscode/*.code-snippets
|
||||||
|
|
||||||
# Local History for Visual Studio Code
|
# Local History for Visual Studio Code
|
||||||
.history/
|
.history/
|
||||||
|
|
||||||
# Built Visual Studio Code Extensions
|
# Built Visual Studio Code Extensions
|
||||||
*.vsix
|
*.vsix
|
||||||
|
|
||||||
|
28
Dockerfile
28
Dockerfile
@ -1,14 +1,14 @@
|
|||||||
FROM ubuntu:latest
|
FROM ubuntu:latest
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y python3.10 python3-pip && \
|
apt-get install -y python3.10 python3-pip && \
|
||||||
pip3 install --upgrade pip
|
pip3 install --upgrade pip
|
||||||
|
|
||||||
RUN pip3 install --user kaggle pandas
|
RUN pip3 install --user kaggle pandas
|
||||||
|
|
||||||
|
|
||||||
COPY . /app
|
COPY . /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
CMD ./script1
|
CMD ./script1
|
||||||
|
|
||||||
|
40
Jenkinsfile
vendored
40
Jenkinsfile
vendored
@ -1,20 +1,20 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Stage1') {
|
stage('Stage1') {
|
||||||
steps {
|
steps {
|
||||||
echo ("checkout: check out from version control")
|
echo ("checkout: check out from version control")
|
||||||
git "https://git.wmi.amu.edu.pl/s151636/ium_151636.git"
|
git "https://git.wmi.amu.edu.pl/s151636/ium_151636.git"
|
||||||
|
|
||||||
echo ("sh: Shell Script")
|
echo ("sh: Shell Script")
|
||||||
sh "./script1"
|
sh "./script1"
|
||||||
|
|
||||||
echo ("copyArtifacts")
|
echo ("copyArtifacts")
|
||||||
|
|
||||||
|
|
||||||
echo("archiveArtifacts")
|
echo("archiveArtifacts")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
2
LICENSE
2
LICENSE
@ -1 +1 @@
|
|||||||
"THE BEER-WARE LICENSE" (Revision 42): <phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return Poul-Henning Kamp
|
"THE BEER-WARE LICENSE" (Revision 42): <phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return Poul-Henning Kamp
|
||||||
|
22
script1
22
script1
@ -1,11 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
wc -l 25k_IMDb_movie_Dataset.csv
|
wc -l 25k_IMDb_movie_Dataset.csv
|
||||||
|
|
||||||
head -n 5 25k_IMDb_movie_Dataset.csv
|
head -n 5 25k_IMDb_movie_Dataset.csv
|
||||||
|
|
||||||
cut -f 5 -d "," 25k_IMDb_movie_Dataset.csv | sort | uniq -c
|
cut -f 5 -d "," 25k_IMDb_movie_Dataset.csv | sort | uniq -c
|
||||||
|
|
||||||
grep -P "^$" -n 25k_IMDb_movie_Dataset.csv
|
grep -P "^$" -n 25k_IMDb_movie_Dataset.csv
|
||||||
|
|
||||||
head -n -1 25k_IMDb_movie_Dataset.csv | shuf > 25k_movies.csv.shuf
|
head -n -1 25k_IMDb_movie_Dataset.csv | shuf > 25k_movies.csv.shuf
|
||||||
|
3190
zadanie1.ipynb
3190
zadanie1.ipynb
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user